2014-09-18 00:13:10 +03:00
|
|
|
from setuptools import setup, find_packages
|
2014-10-17 00:54:45 +03:00
|
|
|
import os
|
|
|
|
|
|
|
|
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()
|
|
|
|
|
|
|
|
with open('requirements.txt') as f:
|
|
|
|
required = f.read().splitlines()
|
|
|
|
|
2014-10-03 21:49:18 +03:00
|
|
|
with open('VERSION') as f:
|
|
|
|
VERSION = f.read().strip()
|
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',
|
|
|
|
version=VERSION,
|
|
|
|
packages=find_packages(),
|
|
|
|
install_requires=required,
|
2014-10-17 00:54:45 +03:00
|
|
|
#scripts=['realms-wiki'],
|
|
|
|
entry_points={
|
|
|
|
'console_scripts': [
|
|
|
|
'realms-wiki = realms.cli:cli'
|
|
|
|
]},
|
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'],
|
2014-09-19 05:49:48 +03:00
|
|
|
classifiers=CLASSIFIERS)
|