-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
44 lines (36 loc) · 1.24 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
#!/usr/bin/env python
import os
import sys
from setuptools import setup
import pypulse
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
# read the contents of your README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md')) as f:
long_description = f.read()
setup(
name='PyPulse',
version=pypulse.__version__,
author='Michael Lam',
author_email='[email protected]',
url='https://github.com/mtlam/PyPulse',
download_url = 'https://github.com/mtlam/PyPulse/archive/v0.1.1.tar.gz',
packages=['pypulse'],
package_dir = {'pypulse': 'pypulse'},
zip_safe=False,
license='BSD-3',
description='A python package for handling and analyzing PSRFITS files.',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=['numpy', 'scipy', 'matplotlib', 'astropy'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
]
)