-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
60 lines (54 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
60
# -*- coding: utf-8 -*-
'''This sets up the package.
Stolen from http://python-packaging.readthedocs.io/en/latest/everything.html and
modified by me.
'''
from setuptools import setup, find_packages
def readme():
"""Load the README file."""
with open('README.md') as f:
return f.read()
# let's be lazy and put requirements in one place
# what could possibly go wrong?
with open('requirements.txt') as infd:
INSTALL_REQUIRES = [x.strip('\n') for x in infd.readlines()]
###############
## RUN SETUP ##
###############
setup(
name='unagi',
description=('Delicious Data from Hyper Suprime-Cam Survey!'),
long_description=readme(),
long_description_content_type="text/markdown",
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Astronomy",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
keywords='astronomy',
url='https://github.com/dr-guangtou/unagi',
author='Song Huang',
author_email='[email protected]',
license='MIT',
packages=find_packages(),
package_data={
'unagi': ["data/camera/*", "data/filters/*",
"data/pdr1_wide/*", "data/pdr2_dud/*", "data/pdr2_wide/*",
"data/solar/*", "data/sql_template/*"]
},
install_requires=INSTALL_REQUIRES,
include_package_data=True,
zip_safe=False,
python_requires='>=3.6',
scripts=['bin/hsc_bulk_cutout'],
use_scm_version = {
"local_scheme": "no-local-version"
},
setup_requires=['setuptools_scm'],
)