-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
61 lines (50 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup script for covnet."""
import setuptools
from numpy.distutils.core import setup
# convert markdown README.md to restructured text .rst for pypi
# pandoc can be installed with
# conda install -c conda-forge pandoc pypandoc
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
print('no pandoc installed. Careful, pypi description will not be '
'formatted correctly.')
long_description = open('README.md').read()
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: GPLv3.0',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Physics'
]
KEYWORDS = ['wavefield covariance', 'array processing']
INSTALL_REQUIRES = [
'numpy (>=1.0.0)']
metadata = dict(
name='covnet',
version='0.0.1',
description='Array processing tools',
long_description=long_description,
url='http://bitbuc.ipgp.fr',
download_url='https://bitbucket.com/xy/zipball/master',
author='L. Seydoux',
author_email="",
license='GPLv3.0',
keywords=KEYWORDS,
requires=INSTALL_REQUIRES,
platforms='OS Independent',
packages=['covnet'],
classifiers=CLASSIFIERS
)
setup(**metadata)