-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
57 lines (45 loc) · 1.56 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
#!/usr/bin/env python
import os
import sys
from os import path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(this_directory, 'requirements.txt'), encoding='utf-8') as req:
requirements = [x.strip() for x in req.readlines()]
setup(
name='deeplenstronomy',
version='0.0.2.3',
description='wrap lenstronomy for efficient simulation generation',
long_description=long_description,
long_description_content_type='text/markdown',
author='DeepSkiesLab',
author_email='deepskieslab@gmail.com',
url='https://github.com/deepskies/deeplenstronomy',
packages=[
'deeplenstronomy',
],
package_dir={'deeplenstronomy': 'deeplenstronomy'},
include_package_data=True,
install_requires=requirements,
license='MIT',
zip_safe=False,
keywords='deeplenstronomy',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: PyPy',
],
)