-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
41 lines (37 loc) · 1.41 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
'''This sets up the package.
'''
from setuptools import setup, find_packages
def readme():
"""Load the README file."""
with open('README.md') as f:
return f.read()
with open('requirements.txt') as infd:
INSTALL_REQUIRES = [x.strip('\n') for x in infd.readlines()]
print(INSTALL_REQUIRES)
setup(name='mrf',
description='Multi-Resolution Filtering (MRF) is a method for isolating faint, extended emission in low-resolution images.',
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 :: 2",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
url='https://github.com/AstroJacobLi/mrf',
author='Pieter van Dokkum, Jiaxuan Li',
author_email='[email protected], [email protected]',
license='MIT',
packages=find_packages(),
package_data={'mrf': ['iraf/macosx/*', '*.md', '*.txt', '*.yaml']},
install_requires=INSTALL_REQUIRES,
include_package_data=True,
zip_safe=False,
python_requires='>=3.6',
use_scm_version=True,
setup_requires=['setuptools_scm'])