1
0

setup.py 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. from setuptools import setup, find_packages
  2. from pywebio import version
  3. setup(
  4. name='PyWebIO',
  5. version=version,
  6. description=u'Make your python interactive script be a web service.',
  7. url='https://github.com/wang0618/pywebio',
  8. author='WangWeimin',
  9. author_email='wang0.618@qq.com',
  10. license='MIT',
  11. packages=find_packages(),
  12. package_data={
  13. # data files need to be listed both here (which determines what gets
  14. # installed) and in MANIFEST.in (which determines what gets included
  15. # in the sdist tarball)
  16. "pywebio": [
  17. "html/codemirror/material-ocean.css",
  18. "html/codemirror/darcula.css",
  19. "html/codemirror/active-line.js",
  20. "html/codemirror/matchbrackets.js",
  21. "html/codemirror/loadmode.js",
  22. "html/codemirror/nginx.js",
  23. "html/codemirror/python.js",
  24. "html/index.html",
  25. "html/css/mditor.min.css",
  26. "html/css/mditor.min.css.map",
  27. "html/css/codemirror.css",
  28. "html/css/mditor.css.map",
  29. "html/css/mditor.css",
  30. "html/css/app.css",
  31. "html/js/FileSaver.min.js",
  32. "html/js/mditor.min.js",
  33. "html/js/codemirror.js",
  34. "html/js/mustache.min.js",
  35. "html/js/form.js",
  36. ],
  37. },
  38. classifiers=[
  39. "Programming Language :: Python :: 3",
  40. "Programming Language :: Python :: 3.5",
  41. "Programming Language :: Python :: 3.6",
  42. "Programming Language :: Python :: 3.7",
  43. ],
  44. install_requires=[
  45. 'tornado>=4.3.0', # After this version, the new async/await keywords in Python 3.5 are supported
  46. ],
  47. extras_require={
  48. 'flask': ['flask'],
  49. },
  50. )