-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
71 lines (65 loc) · 2.07 KB
/
setup.py
File metadata and controls
71 lines (65 loc) · 2.07 KB
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
#!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages # type: ignore
import re
import os
def get_version():
with open(os.path.join(os.path.dirname(__file__), "apts", "__init__.py")) as f:
match = re.search(r"__version__ = [\'\"]([^\'\"]+)[\'\"]", f.read())
if match:
return match.group(1)
return "0.0.0"
# long_description = read('README.txt', 'CHANGES.txt')
setup(
name="apts",
version=get_version(),
url="http://github.com/pozar87/apts/",
license="Apache Software License",
author="Lukasz Pozarlik",
tests_require=["pytest"],
install_requires=[
"aenum>=2.0.6",
"ephem>=3.7.6.0",
"skyfield>=1.54",
"scipy>=1.0.0",
"matplotlib>=2.1.2",
"numpy>=1.14.0",
"pandas>=0.22.0",
"pint>=0.8.1",
"pycairo>=1.16.2",
"networkx>=2.0",
"requests-cache>=1.2.0",
"requests-mock>=1.12.1",
"seaborn>=0.8.1",
"Babel>=2.9.1",
"svgwrite>=1.1.12",
"timezonefinder>=2.1.0",
"pytz>=2018.3",
],
# cmdclass={'test': PyTest},
author_email="lpozarlik@gmail.com",
description="Set of tools for automatic astrofotography images aqquisition and processing.",
# long_description=long_description,
packages=find_packages(),
package_dir={"apts": "apts"},
package_data={
"apts": ["data/*", "templates/*", "locale/*/LC_MESSAGES/*.mo"]
},
include_package_data=True,
platforms="any",
# test_suite='sandman.test.test_sandman',
classifiers=[
"Programming Language :: Python",
"Development Status :: 1 - Planning",
"Natural Language :: English",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
],
extras_require={
"testing": ["pytest", "requests-mock>=1.12.1"],
},
)