-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
69 lines (59 loc) · 2.04 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
# To use a consistent encoding
from codecs import open
from os import path
from setuptools import setup, find_packages
DISTNAME = 'planet4'
DESCRIPTION = "Software for the reduction and analysis of PlanetFour data."
AUTHOR = "K.-Michael Aye"
AUTHOR_EMAIL = "[email protected]"
MAINTAINER_EMAIL = AUTHOR_EMAIL
URL = "https://github.com/michaelaye/planet4"
LICENSE = "ISC"
KEYWORDS = ['Mars', 'science', 'MRO', 'imaging']
DOWNLOAD_URL = "https://github.com/michaelaye/planet4"
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
LONG_DESCRIPTION = f.read()
setup(
name=DISTNAME,
version='0.11.2',
packages=find_packages(),
install_requires=['pandas', 'numpy', 'matplotlib', 'pyaml',
'shapely'],
tests_require=['pytest'],
setup_requires=['pytest-runner'],
package_data={
'planet4': ['data/*']
},
entry_points={
"console_scripts": [
'p4reduction = planet4.reduction:main',
'plot_p4_imageid = planet4.markings:main',
'create_season2and3 = planet4.reduction:create_season2_and_3_database',
'p4catalog_production = planet4.catalog_production:main',
'hdf2csv = planet4.hdf2csv:main',
'cluster_image_id = planet4.dbscan:main'
]
},
# metadata
author=AUTHOR,
author_email=AUTHOR_EMAIL,
maintainer_email=AUTHOR_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
license=LICENSE,
keywords=KEYWORDS,
url=URL,
download_url=DOWNLOAD_URL,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers'
'License :: OSI Approved :: ISC License (ISCL)',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Information Analysis',
]
)