🌊 Shore is a distribution and release management tool for pure Python packages.
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.
 

64 lines
2.4 KiB

  1. # This file was automatically generated by Shore. Do not edit manually.
  2. # For more information on Shore see https://pypi.org/project/nr.shore/
  3. from __future__ import print_function
  4. import io
  5. import os
  6. import re
  7. import setuptools
  8. import sys
  9. with io.open('src/shore/__init__.py', encoding='utf8') as fp:
  10. version = re.search(r"__version__\s*=\s*'(.*)'", fp.read()).group(1)
  11. readme_file = 'README.md'
  12. if os.path.isfile(readme_file):
  13. with io.open(readme_file, encoding='utf8') as fp:
  14. long_description = fp.read()
  15. else:
  16. print("warning: file \"{}\" does not exist.".format(readme_file), file=sys.stderr)
  17. long_description = None
  18. requirements = ['beautifulsoup4 >=4.8.1,<5.0.0', 'click >=7.0,<8.0.0', 'jinja2 >=2.11.1,<3.0.0', 'networkx >=2.4,<3.0.0', 'nr.databind.core >=0.0.1,<0.1.0', 'nr.databind.json >=0.0.1,<0.1.0', 'nr.fs >=1.5.0,<2.0.0', 'nr.pylang.utils >=0.0.1,<1.0.0', 'nr.proxy >=0.0.1,<1.0.0', 'nr.utils.git >=0.1.3,<0.2.0', 'requests >=2.22.0,<3.0.0', 'packaging >=20.1,<21.0.0', 'PyYAML >=5.1.0,<6.0.0', 'termcolor >=1.1.0,<2.0.0', 'twine', 'wheel']
  19. setuptools.setup(
  20. name = 'nr.shore',
  21. version = version,
  22. author = 'Niklas Rosenstein',
  23. author_email = 'rosensteinniklas@gmail.com',
  24. description = 'Automates the heavy lifting of release and distribution management for pure Python packages.',
  25. long_description = long_description,
  26. long_description_content_type = 'text/markdown',
  27. url = 'https://git.niklasrosenstein.com/NiklasRosenstein/shore',
  28. license = 'MIT',
  29. packages = setuptools.find_packages('src', ['test', 'test.*', 'docs', 'docs.*']),
  30. package_dir = {'': 'src'},
  31. include_package_data = True,
  32. install_requires = requirements,
  33. extras_require = {},
  34. tests_require = [],
  35. python_requires = None, # TODO: '>=2.7,<3.0.0|>=3.4,<4.0.0',
  36. data_files = [],
  37. entry_points = {
  38. 'console_scripts': [
  39. 'shore = shore.__main__:_entry_point',
  40. 'shore-conda-forge = shore.tools.conda_forge:main',
  41. ],
  42. 'shore.core.plugins': [
  43. 'core = shore.plugins.core:CorePlugin',
  44. 'install-script = shore.plugins.install_script:InstallScriptRenderer',
  45. 'pypi = shore.plugins.pypi:PypiPublisher',
  46. 'requirements-file = shore.plugins.requirements_file:RequirementsFileRenderer',
  47. 'setuptools = shore.plugins.setuptools:SetuptoolsRenderer',
  48. ]
  49. },
  50. cmdclass = {},
  51. keywords = [],
  52. classifiers = [],
  53. options = {
  54. 'bdist_wheel': {
  55. 'universal': True,
  56. },
  57. },
  58. )