Git based wiki inspired by Gollum
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.7KB

  1. from setuptools import setup, find_packages
  2. import os
  3. if os.environ.get('USER', '') == 'vagrant':
  4. del os.link
  5. DESCRIPTION = "Simple git based wiki"
  6. with open('README.md') as f:
  7. LONG_DESCRIPTION = f.read()
  8. with open('requirements.txt') as f:
  9. required = f.read().splitlines()
  10. __version__ = None
  11. exec(open('realms/version.py').read())
  12. CLASSIFIERS = [
  13. 'Intended Audience :: Developers',
  14. 'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
  15. 'Operating System :: POSIX :: Linux',
  16. 'Programming Language :: Python',
  17. 'Topic :: Internet :: WWW/HTTP :: Dynamic Content']
  18. setup(name='realms-wiki',
  19. version=__version__,
  20. packages=find_packages(),
  21. install_requires=[
  22. 'Flask==0.10.1',
  23. 'Flask-Assets==0.10',
  24. 'Flask-Cache==0.13.1',
  25. 'Flask-Login==0.2.11',
  26. 'Flask-SQLAlchemy==2.0',
  27. 'Flask-WTF==0.10.2',
  28. 'PyYAML==3.11',
  29. 'bcrypt==1.0.2',
  30. 'beautifulsoup4==4.3.2',
  31. 'click==3.3',
  32. 'gevent==1.0.1',
  33. 'ghdiff==0.4',
  34. 'gittle==0.4.0',
  35. 'gunicorn==19.1.1',
  36. 'itsdangerous==0.24',
  37. 'lxml==3.4.0',
  38. 'markdown2==2.3.0',
  39. 'simplejson==3.6.3'
  40. ],
  41. entry_points={
  42. 'console_scripts': [
  43. 'realms-wiki = realms.commands:cli'
  44. ]},
  45. author='Matthew Scragg',
  46. author_email='scragg@gmail.com',
  47. maintainer='Matthew Scragg',
  48. maintainer_email='scragg@gmail.com',
  49. url='https://github.com/scragg0x/realms-wiki',
  50. license='GPLv2',
  51. include_package_data=True,
  52. description=DESCRIPTION,
  53. long_description=LONG_DESCRIPTION,
  54. platforms=['any'],
  55. classifiers=CLASSIFIERS)