This repository has been archived by the owner on Jul 29, 2020. It is now read-only.
forked from nudomarinero/wquantiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (46 loc) · 1.48 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
from __future__ import print_function
from setuptools import setup, Command
import os
__version__ = "0.3.sm0"
description = 'Weighted quantiles, including weighted median, based on numpy'
long_description = description
if os.path.exists('README.md'):
with open('README.md') as f:
long_description=f.read()
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys,subprocess
errno = subprocess.call([sys.executable, 'runtests.py'])
raise SystemExit(errno)
setup(
name='wquantiles',
version=__version__,
url='http://github.com/nudomarinero/wquantiles/',
license='MIT License',
author='Jose Sabater',
tests_require=['pytest'],
install_requires=['numpy'],
author_email='[email protected]',
description=description,
long_description=long_description,
platforms='any',
classifiers = [
'Programming Language :: Python',
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Environment :: Web Environment',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Software Development :: Libraries :: Python Modules',
],
py_modules=['weighted'],
test_suite='test',
cmdclass = {'test': PyTest},
)