-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
52 lines (45 loc) · 1.55 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
# -*- coding: utf-8 -*-
'''This sets up the package.
Stolen from http://python-packaging.readthedocs.io/en/latest/everything.html
and modified by me.
'''
__version__ = '0.1.0'
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()]
# Running setup
setup(
name='kungpao',
version=__version__,
description=('Delicious galaxies! Tools to do basic galaxy photometry.'),
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, photometry',
url='https://github.com/dr-guangtou/kungpao',
author='Song Huang',
author_email='shuang89@ucsc.edu',
license='MIT',
packages=find_packages(),
package_data={"kungpao": ["cmap_data/*pkl"]},
install_requires=INSTALL_REQUIRES,
include_package_data=True,
zip_safe=False,
python_requires='>=3.6',
)