-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
44 lines (41 loc) · 1.64 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
from setuptools import setup, find_packages
with open('README.rst') as README:
long_description = README.read()
description = long_description[
:long_description.index('Description')].split("*")[1].strip()
long_description = long_description[long_description.index('Description'):]
version = {}
with open("a2p2/version.py") as fp:
exec(fp.read(), version)
setup(
name='a2p2',
version=version['__version__'],
python_requires='>=3',
description=description,
long_description=long_description,
# install_requires=['astropy', 'p2api','pygtk'],
# PyGtk is not working on some linux
# anaconda also fails
# prefere the use of your default python packages on your linux
# what is the solution for mac ?
# we continue moving tk as first gui backend
# install_requires=['astropy', 'p2api', 'python-tk'] + (['pygtk'] if
# platform.startswith("win") else []),
install_requires=['astropy>=5.2.2', 'p2api', 'appdirs'],
url='http://www.jmmc.fr/a2p2',
author='JMMC Tech Group',
author_email='[email protected]',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
# 'Programming Language :: Python :: 2',
# 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
license='OSI Approved :: GNU General Public License v3 (GPLv3)',
packages=find_packages(),
include_package_data=True,
entry_points={'console_scripts': ['a2p2=a2p2.__main__:main']},
keywords='observation preparation tool optical-interferometry p2 samp'
)