-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·34 lines (31 loc) · 1.2 KB
/
setup.py
File metadata and controls
executable file
·34 lines (31 loc) · 1.2 KB
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
#!/usr/bin/env python
"""Pygme: Python Gaussian ModElling - a python implementation of the Multi-Gaussian Expansion Method.
Fit MGE models, and Generate initial conditions for N body simulations
See Monnet et al. 1992 and Emsellem et al. 1994 for more details
"""
## Distribution for the PyMGE package
import sys
# simple hack to allow use of "python setup.py develop". Should not affect
# users, only developers.
if 'develop' in sys.argv:
# use setuptools for develop, but nothing else
from setuptools import setup
else:
from distutils.core import setup
import os
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
setup(name='pygme',
version='0.1.1',
description='PYthon Gaussian ModElling - Python MGE Tool',
author='Eric Emsellem',
author_email='eric.emsellem@eso.org',
maintainer='Eric Emsellem',
# url='http://',
# requires=['pymodelfit'],
# requires=['openopt'],
license='LICENSE',
packages=['pygme', 'pygme.binning', 'pygme.astroprofiles', 'pygme.fitting', 'pygme.utils', 'pygme.colormaps'],
package_dir={'pygme.astroprofiles': 'pygme/astroprofiles'},
package_data={'pygme.astroprofiles': ['data/*.dat']},
)