realms-wiki/setup.py

44 lines
1.2 KiB
Python
Raw Normal View History

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
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()
with open('VERSION') as f:
VERSION = f.read().strip()
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',
'Programming Language :: Python',
2014-10-17 00:54:45 +03:00
'Topic :: Internet :: WWW/HTTP :: Dynamic Content']
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'
]},
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)