-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
executable file
·43 lines (37 loc) · 1.21 KB
/
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
39
40
41
42
43
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
# Get version from __init__.py
with open('pleiades/__init__.py', 'r') as f:
version = f.readlines()[-1].split()[-1].strip("'")
kwargs = {
'name': 'pleiades',
'version': version,
'packages': find_packages(exclude=['tests*']),
# Metadata
'author': 'Ethan Peterson',
'author_email': 'peterson@psfc.mit.edu',
'description': 'Pleiades',
'long_description': long_description,
'project_urls': {
'Issue Tracker': 'https://github.com/eepeterson/pleiades/issues',
'Documentation': 'https://pleiades.readthedocs.io',
'Source Code': 'https://github.com/eepeterson/pleiades',
},
'classifiers': [
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
# Dependencies
'python_requires': '>=3.5',
'install_requires': [
'numpy>=1.9', 'scipy', 'ipython', 'matplotlib',
],
'extras_require': {
'test': ['pytest', 'pytest-cov', 'colorama'],
'vtk': ['vtk'],
},
}
setup(**kwargs)