This repository has been archived by the owner on Oct 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·59 lines (55 loc) · 1.81 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
#!/usr/bin/env python
#
# Setup script.
# Written by: Tom Hicks. 6/22/2018.
# Last Modified: Figure out requires. Redo VERSION reading.
#
import os
import re
import sys
from setuptools import setup, find_packages
# Eval the VERSION number from the version file
with open('astrolabe_py/version.py') as vfile:
exec(vfile.read())
# Read in the long description from the README file
with open("README.rst", "r", encoding="UTF-8") as rm:
long_description = rm.read()
# Build the list of scripts to be installed.
# script_dir = 'scripts'
# scripts = []
# for script in os.listdir(script_dir):
# scripts.append(os.path.join(script_dir,script))
setup(
name="astrolabe_py",
version=VERSION,
author="Tom Hicks",
author_email="[email protected]",
description="Tools for working with Astrolabe data.",
license='Apache Software License (http://www.apache.org/licenses/LICENSE-2.0)',
long_description=long_description,
long_description_content_type="text/x-rst",
url="https://github.com/AstrolabeProject/astrolabe_py",
packages=find_packages(exclude=['test.*']),
package_data ={
'astrolabe_py': ['data/*']
},
install_requires=[
'astropy>=3.0.3',
'python-irodsclient>=0.8.1'
],
python_requires='~=3.6',
# scripts=scripts,
scripts=[ "checker", "uploader" ],
classifiers=[
'Development Status :: 1 - Planning',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Topic :: System :: Archiving',
],
keywords='Astrolabe datastore iRods metadata uploading'
)