This repository has been archived by the owner on Nov 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
72 lines (65 loc) · 2.09 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
71
72
# Copyright (c) 2016, Matt Layman
'''
Follow MarkWiki development on `GitHub
<https://github.com/mblayman/markwiki>`_. Developer documentation is on
`Read the Docs <https://markwiki.readthedocs.org/>`_.
'''
from setuptools import find_packages, setup
import sys
__version__ = '1.6'
# The docs import setup.py for the version so only call setup when not behaving
# as a module.
if __name__ == '__main__':
with open('docs/releases.rst', 'r') as f:
releases = f.read()
long_description = __doc__ + '\n\n' + releases
install_requires = [
'argparse==1.2.1',
'Flask==0.10.1',
'Flask-Login==0.2.9',
'Flask-WTF==0.9.4',
'Frozen-Flask==0.11',
'Markdown==2.3.1',
'Pygments==1.6',
'requests==2.6.0',
'Whoosh==2.5.6',
'sh==1.11',
]
# Add some developer tools.
if 'develop' in sys.argv:
install_requires.extend([
'coverage==3.7.1',
'gunicorn==18.0',
'nose==1.3.0',
'pep8',
])
setup(
name='MarkWiki',
version=__version__,
url='https://github.com/mblayman/markwiki',
license='BSD',
author='Matt Layman',
author_email='[email protected]',
description='A simple wiki using Markdown',
long_description=long_description,
packages=find_packages(),
entry_points={
'console_scripts': ['markwiki = markwiki.server:run']
},
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Flask',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet',
],
test_suite='markwiki.tests'
)