2014-10-17 00:54:45 +03:00
|
|
|
import os
|
2016-08-20 20:37:22 +03:00
|
|
|
from setuptools import setup, find_packages
|
2014-10-17 00:54:45 +03:00
|
|
|
|
|
|
|
if os.environ.get('USER', '') == 'vagrant':
|
|
|
|
del os.link
|
2014-09-18 00:13:10 +03:00
|
|
|
|
|
|
|
DESCRIPTION = "Simple git based wiki"
|
|
|
|
|
2014-10-17 20:03:38 +03:00
|
|
|
with open('README.md') as f:
|
2014-09-18 00:13:10 +03:00
|
|
|
LONG_DESCRIPTION = f.read()
|
|
|
|
|
2014-10-22 23:38:32 +03:00
|
|
|
__version__ = None
|
|
|
|
exec(open('realms/version.py').read())
|
2014-09-18 00:13:10 +03:00
|
|
|
|
|
|
|
CLASSIFIERS = [
|
|
|
|
'Intended Audience :: Developers',
|
2014-10-17 00:54:45 +03:00
|
|
|
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
|
|
|
|
'Operating System :: POSIX :: Linux',
|
2014-09-18 00:13:10 +03:00
|
|
|
'Programming Language :: Python',
|
2014-10-17 00:54:45 +03:00
|
|
|
'Topic :: Internet :: WWW/HTTP :: Dynamic Content']
|
2014-09-18 00:13:10 +03:00
|
|
|
|
|
|
|
setup(name='realms-wiki',
|
2014-10-22 23:38:32 +03:00
|
|
|
version=__version__,
|
2014-09-18 00:13:10 +03:00
|
|
|
packages=find_packages(),
|
2014-10-22 23:38:32 +03:00
|
|
|
install_requires=[
|
2016-07-14 03:43:06 +03:00
|
|
|
'Flask==0.11.1',
|
|
|
|
'Flask-Assets==0.11',
|
2014-10-22 23:38:32 +03:00
|
|
|
'Flask-Cache==0.13.1',
|
2014-11-10 18:54:46 +02:00
|
|
|
'Flask-Elastic==0.2',
|
2016-07-14 03:43:06 +03:00
|
|
|
'Flask-Login==0.3.2',
|
|
|
|
'Flask-OAuthlib==0.9.3',
|
|
|
|
'Flask-SQLAlchemy==2.1',
|
|
|
|
'Flask-WTF==0.12',
|
2014-10-22 23:38:32 +03:00
|
|
|
'PyYAML==3.11',
|
|
|
|
'bcrypt==1.0.2',
|
|
|
|
'beautifulsoup4==4.3.2',
|
|
|
|
'click==3.3',
|
2016-07-09 19:56:26 +03:00
|
|
|
'dulwich==0.14.1',
|
2015-10-15 01:36:22 +03:00
|
|
|
'flask-ldap-login==0.3.0',
|
2015-08-16 21:42:30 +03:00
|
|
|
'gevent==1.0.2',
|
2014-10-22 23:38:32 +03:00
|
|
|
'ghdiff==0.4',
|
2015-08-31 03:17:51 +03:00
|
|
|
'gunicorn==19.3',
|
2014-10-22 23:38:32 +03:00
|
|
|
'itsdangerous==0.24',
|
2016-05-26 22:51:20 +03:00
|
|
|
'markdown2==2.3.1',
|
2015-11-07 06:05:02 +02:00
|
|
|
'python-ldap==2.4.22',
|
2014-10-22 23:38:32 +03:00
|
|
|
'simplejson==3.6.3'
|
|
|
|
],
|
2014-10-17 00:54:45 +03:00
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
2014-10-24 02:58:58 +03:00
|
|
|
'realms-wiki = realms.commands:cli'
|
2014-10-17 00:54:45 +03:00
|
|
|
]},
|
2014-09-18 00:13:10 +03:00
|
|
|
author='Matthew Scragg',
|
|
|
|
author_email='scragg@gmail.com',
|
|
|
|
maintainer='Matthew Scragg',
|
|
|
|
maintainer_email='scragg@gmail.com',
|
|
|
|
url='https://github.com/scragg0x/realms-wiki',
|
|
|
|
license='GPLv2',
|
|
|
|
include_package_data=True,
|
|
|
|
description=DESCRIPTION,
|
|
|
|
long_description=LONG_DESCRIPTION,
|
|
|
|
platforms=['any'],
|
2015-08-16 21:42:30 +03:00
|
|
|
classifiers=CLASSIFIERS)
|