-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·67 lines (59 loc) · 1.62 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
#!/usr/bin/env python
from setuptools import setup, find_packages
def version():
# pylint: disable=exec-used
values = {}
exec(open('muextensions/version.py').read(), values)
return values['__version__']
def long_description():
with open('README.rst', 'rb') as handle:
return handle.read().decode('utf-8')
_TEST_REQUIRE = [
# coverage 5 is still in alpha.
'beautifulsoup4',
'coverage<5',
'decorator',
'pytest',
'pytest-cov',
# Optional external dependencies needed while testing.
'docutils',
'pelican',
]
_CI_REQUIRE = [
'flake8',
'pep257',
'pylint',
'tox',
]
setup(
name='muextensions',
version=version(),
author='Pedro H.',
author_email='[email protected]',
description='Markup extentions',
long_description=long_description(),
url='https://github.com/pedrohdz/muextensions',
license='Apache License 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Documentation',
],
keywords='pelican hovercraft plantuml uml docutils',
packages=find_packages(exclude=['tests']),
include_package_data=True,
setup_requires=[
'pytest-runner',
],
install_requires=[
],
tests_require=_TEST_REQUIRE,
extras_require={
'ci': _CI_REQUIRE,
'test': _TEST_REQUIRE,
},
)