-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
54 lines (48 loc) · 1.61 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
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python
"""The setup script."""
import versioneer
import parse_envs
from setuptools import setup, find_packages
with open('README.md') as readme_file:
readme = readme_file.read()
extras = {
'dev': [
'black','notebook', 'flake8', 'mypy', 'pytest', 'pytest-cov', 'tox'
],
'no_pip_package': ['nodejs', 'pip']
}
requirements, extra_requirements = parse_envs.parse_conda_envs(
"environment_minimum_requirements.yml",
"environment.yml",
optional_packages=extras
)
extra_requirements.pop('no_pip_package', None)
setup(
author='Andrew Schechtman-Rook',
author_email='[email protected]',
python_requires='>=3.7',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
cmdclass=versioneer.get_cmdclass(),
description='Make beautiful plots of player tracking data',
extras_require=extra_requirements,
install_requires=requirements,
license='GNU General Public License v3',
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
keywords='ptplot',
name='ptplot',
packages=find_packages(include=['ptplot', 'ptplot.*']),
url='https://github.com/AndrewRook/ptplot',
version=versioneer.get_version(),
zip_safe=False,
)