-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (26 loc) · 824 Bytes
/
setup.py
File metadata and controls
30 lines (26 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
from setuptools import find_packages
from setuptools import setup
with open("mabel/version.py", "r") as v:
vers = v.read()
exec(vers) # nosec
with open("README.md", "r") as rm:
long_description = rm.read()
try:
with open("requirements.txt", "r") as f:
required = f.read().splitlines()
except:
with open("mabel.egg-info/requires.txt", "r") as f:
required = f.read().splitlines()
setup(
name="mabel",
version=__version__,
description="Python Data Libraries",
long_description=long_description,
long_description_content_type="text/markdown",
maintainer="Joocer",
author="joocer",
author_email="justin.joyce@joocer.com",
packages=find_packages(include=["mabel", "mabel.*"]),
url="https://github.com/mabel-dev/mabel/",
install_requires=required,
)