-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
38 lines (33 loc) · 858 Bytes
/
setup.py
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
31
32
33
34
35
36
37
38
import setuptools
with open('abstract.md', 'r') as fh:
long_description = fh.read()
about = {}
with open('lifefit/__about__.py') as a:
exec(a.read(), about)
INSTALL_REQUIRES = [
'numpy',
'scipy',
'uncertainties'
]
EXTRAS_REQUIRES = {
'dev': [
'pytest',
'coverage'
]
}
setuptools.setup(
name=about['__title__'],
version=about['__version__'],
author=about['__author__'],
description=about['__description__'],
long_description=long_description,
long_description_content_type="text/markdown",
url=about['__url__'],
project_urls=about['__project_urls__'],
packages=setuptools.find_packages(),
install_requires=INSTALL_REQUIRES,
classifiers=about['__classifiers__'],
keywords=about['__keywords__'],
include_package_data=True,
extra_requires=EXTRAS_REQUIRES
)