setup.py 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import io
  2. import os
  3. import re
  4. from setuptools import find_packages
  5. from setuptools import setup
  6. def read(filename):
  7. filename = os.path.join(os.path.dirname(__file__), filename)
  8. text_type = type(u"")
  9. with io.open(filename, mode="r", encoding='utf-8') as fd:
  10. return re.sub(text_type(r':[a-z]+:`~?(.*?)`'), text_type(r'``\1``'), fd.read())
  11. setup(
  12. name="nfoservers-panel",
  13. version="0.2.0",
  14. url="",
  15. license='GPLv3',
  16. author="Boris Bobrov",
  17. author_email="breton@cynicmansion.ru",
  18. description="Python frontend for NFOServers control panel",
  19. long_description=read("README.rst"),
  20. packages=find_packages(exclude=('tests',)),
  21. install_requires=['grab', 'daiquiri'],
  22. classifiers=[
  23. 'Development Status :: 2 - Pre-Alpha',
  24. 'License :: OSI Approved :: GPLv3',
  25. 'Programming Language :: Python',
  26. 'Programming Language :: Python :: 3',
  27. 'Programming Language :: Python :: 3.4',
  28. 'Programming Language :: Python :: 3.5',
  29. 'Programming Language :: Python :: 3.6',
  30. 'Programming Language :: Python :: 3.7',
  31. ],
  32. )