-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
81 lines (70 loc) · 2.1 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
# -*- coding: utf-8 -*-
import os
import os.path
from setuptools import setup, Extension
import versioneer
# Default description in markdown
LONG_DESCRIPTION = open('README.md').read()
PKG_NAME = 'azotea'
AUTHOR = 'Rafael González'
AUTHOR_EMAIL = '[email protected]'
DESCRIPTION = 'command line tool to reduce DSLR RAW images',
LICENSE = 'MIT'
KEYWORDS = 'Astronomy Python LightPollution'
URL = 'https://guaix.ucm.es/AZOTEA'
PACKAGES = ["azotea","azotenodo"]
DEPENDENCIES = [
'tabulate',
'numpy',
'matplotlib',
'rawpy',
'exifread',
'opencv-python',
'jdcal',
'requests'
]
CLASSIFIERS = [
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Atmospheric Science',
'Development Status :: 4 - Beta',
]
# Additional data inside the package
PACKAGE_DATA = {
'azotea': [
'data/camera.ini',
'data/azotea.ini',
'data/sql/*.sql',
'data/sql/data/*.sql',
],
'azotenodo': [
'data/azotenodo.ini',
],
}
SCRIPTS = [
'files/azotea',
'files/migrate_hash',
]
setup(
name = PKG_NAME,
version = versioneer.get_version(),
cmdclass = versioneer.get_cmdclass(),
author = AUTHOR,
author_email = AUTHOR_EMAIL,
description = DESCRIPTION,
long_description_content_type = "text/markdown",
long_description = LONG_DESCRIPTION,
license = LICENSE,
keywords = KEYWORDS,
url = URL,
classifiers = CLASSIFIERS,
packages = PACKAGES,
install_requires = DEPENDENCIES,
package_data = PACKAGE_DATA,
scripts = SCRIPTS
)