-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
58 lines (52 loc) · 1.88 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
#!/usr/bin/env python3
import rundoc as project
from setuptools import setup, find_packages
import os
def here(*path):
return os.path.join(os.path.dirname(__file__), *path)
def get_file_contents(filename):
with open(here(filename), 'r', encoding='utf8') as fp:
return fp.read()
setup(
name = project.__name__,
description = project.__doc__.strip(),
long_description=get_file_contents('README.md'),
long_description_content_type='text/markdown',
url = 'https://gitlab.com/nul.one/' + project.__name__,
download_url = 'https://gitlab.com/nul.one/{1}/-/archive/{0}/{1}-{0}.tar.gz'.format(project.__version__, project.__name__),
version = project.__version__,
author = project.__author__,
author_email = project.__author_email__,
license = project.__license__,
packages = [ project.__name__ ],
entry_points={
'console_scripts': [
'{0}={0}.__main__:cli'.format(project.__name__),
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Customer Service',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Documentation',
'Topic :: Software Development :: Documentation',
'Topic :: Software Development :: Testing',
'Topic :: Utilities',
],
install_requires = [
'beautifulsoup4>=4.4.1,<5.0',
'click>=6.7,<8.0',
'markdown>=2.6.9,<3.0',
'markdown-rundoc>=0.3.1,<0.4.0',
'prompt_toolkit>=2.0,<3.0',
'pygments>=2.2.0,<3.0',
],
python_requires=">=3.4.6",
)