44 lines
1.2 KiB
Python
44 lines
1.2 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') 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',
|
|
'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=required,
|
|
#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) |