-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
70 lines (62 loc) · 1.93 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
62
63
64
65
66
67
68
69
70
#! /usr/bin/env python
"""bff setup file."""
import pathlib
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import versioneer
# The directory containing this file
HERE = pathlib.Path(__file__).parent
DESCRIPTION = 'Best Fancy Functions, your Best Friend Forever'
LONG_DESCRIPTION = HERE.joinpath('README.md').read_text()
DISTNAME = 'bff'
LICENSE = 'MIT'
AUTHOR = 'Axel Fahy'
EMAIL = '[email protected]'
URL = 'https://bff.readthedocs.io/en/latest/'
DOWNLOAD_URL = ''
PROJECT_URLS = {
'Bug Tracker': 'https://github.com/axelfahy/bff/issues',
'Documentation': 'https://bff.readthedocs.io/en/latest/',
'Source Code': 'https://github.com/axelfahy/bff'
}
REQUIRES = [
'matplotlib',
'numpy',
'pandas>=1.0.0',
'python-dateutil>=2.8.0',
'pyyaml',
'scipy',
'seaborn',
'typing'
]
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8']
class NoopTestCommand(TestCommand):
def __init__(self, dist):
print('Bff does not support running tests with '
'`python setup.py test`. Please run `make all`.')
cmdclass = versioneer.get_cmdclass()
cmdclass.update({"test": NoopTestCommand})
setup(name=DISTNAME,
maintainer=AUTHOR,
version=versioneer.get_version(),
packages=find_packages(exclude=('tests',)),
maintainer_email=EMAIL,
description=DESCRIPTION,
license=LICENSE,
cmdclass=cmdclass,
url=URL,
download_url=DOWNLOAD_URL,
project_urls=PROJECT_URLS,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
classifiers=CLASSIFIERS,
python_requires='>=3.6',
install_requires=REQUIRES,
zip_safe=False)