forked from poliastro/poliastro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
89 lines (83 loc) · 2.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/usr/bin/env python
import os
from setuptools import find_packages, setup
# https://packaging.python.org/guides/single-sourcing-package-version/
version = {}
with open(os.path.join("src", "poliastro", "__init__.py")) as fp:
exec(fp.read(), version)
with open("README.rst", encoding="utf-8") as fp:
long_description = fp.read()
# http://blog.ionelmc.ro/2014/05/25/python-packaging/
setup(
name="poliastro",
version=version["__version__"],
description="Python package for Orbital Mechanics",
author="Juan Luis Cano",
author_email="[email protected]",
url="https://blog.poliastro.space/",
download_url="https://github.com/poliastro/poliastro",
license="MIT",
keywords=[
"aero",
"aerospace",
"engineering",
"astrodynamics",
"orbits",
"kepler",
"orbital mechanics",
],
python_requires=">=3.5",
install_requires=[
"astropy>=3.1,<4.*",
"astroquery>=0.3.8",
"beautifulsoup4>=4.5.3",
"jplephem",
"matplotlib>=2.0,!=3.0.1",
"numba>=0.39 ; implementation_name=='cpython'",
"numpy",
"pandas",
"plotly>=3.6,<4.*",
"requests",
"scipy>=1.0",
],
extras_require={
"jupyter": ["notebook", "ipywidgets>=7.0"],
"dev": [
"black ; python_version>='3.6'",
"coverage",
"ipykernel",
"ipython>=5.0",
"ipywidgets>=7.0",
"isort",
"jupyter-client",
"nbsphinx",
"pycodestyle",
"pytest-cov<2.6.0",
"pytest>=3.2",
"sphinx",
"sphinx_rtd_theme>=0.4.3",
],
},
packages=find_packages("src"),
package_dir={"": "src"},
entry_points={"console_scripts": ["poliastro = poliastro.cli:main"]},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Astronomy",
],
long_description=long_description,
include_package_data=True,
zip_safe=False,
)