forked from AOtools/aotools
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (26 loc) · 924 Bytes
/
setup.py
File metadata and controls
28 lines (26 loc) · 924 Bytes
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
from distutils.core import setup
import versioneer
# I really prefer Markdown to reStructuredText. PyPi does not. This allows me
# to have things how I'd like, but not throw complaints when people are trying
# to install the package and they don't have pypandoc or the README in the
# right place.
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
long_description = ''
setup(
name='aotools',
author_email='a.p.reeves@durham.ac.uk',
packages=['aotools',
'aotools.astronomy',
'aotools.functions',
'aotools.image_processing',
'aotools.turbulence',
'aotools.wfs',
],
description='A set of useful functions for Adaptive Optics in Python',
long_description=long_description,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass()
)