bf3b3d3d74
include img in manifest disclaimer in root cli script add blinker to dev tools version file included in package cli bug fixes
62 lines
1.7 KiB
Python
62 lines
1.7 KiB
Python
from setuptools import setup, find_packages
|
|
import os
|
|
|
|
if os.environ.get('USER', '') == 'vagrant':
|
|
del os.link
|
|
|
|
DESCRIPTION = "Simple git based wiki"
|
|
|
|
with open('README.md') as f:
|
|
LONG_DESCRIPTION = f.read()
|
|
|
|
with open('requirements.txt') as f:
|
|
required = f.read().splitlines()
|
|
|
|
__version__ = None
|
|
exec(open('realms/version.py').read())
|
|
|
|
CLASSIFIERS = [
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
|
|
'Operating System :: POSIX :: Linux',
|
|
'Programming Language :: Python',
|
|
'Topic :: Internet :: WWW/HTTP :: Dynamic Content']
|
|
|
|
setup(name='realms-wiki',
|
|
version=__version__,
|
|
packages=find_packages(),
|
|
install_requires=[
|
|
'Flask==0.10.1',
|
|
'Flask-Assets==0.10',
|
|
'Flask-Cache==0.13.1',
|
|
'Flask-Login==0.2.11',
|
|
'Flask-SQLAlchemy==2.0',
|
|
'Flask-WTF==0.10.2',
|
|
'PyYAML==3.11',
|
|
'bcrypt==1.0.2',
|
|
'beautifulsoup4==4.3.2',
|
|
'click==3.3',
|
|
'gevent==1.0.1',
|
|
'ghdiff==0.4',
|
|
'gittle==0.4.0',
|
|
'gunicorn==19.1.1',
|
|
'itsdangerous==0.24',
|
|
'lxml==3.4.0',
|
|
'markdown2==2.3.0',
|
|
'simplejson==3.6.3'
|
|
],
|
|
entry_points={
|
|
'console_scripts': [
|
|
'realms-wiki = realms.cli:cli'
|
|
]},
|
|
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'],
|
|
classifiers=CLASSIFIERS) |