|
| 1 | +from os.path import dirname, join |
| 2 | + |
1 | 3 | from setuptools import find_packages, setup |
2 | 4 |
|
| 5 | + |
| 6 | +def read(*names, **kwargs): |
| 7 | + with open( |
| 8 | + join(dirname(__file__), *names), encoding=kwargs.get("encoding", "utf8") |
| 9 | + ) as openfile: |
| 10 | + return openfile.read() |
| 11 | + |
| 12 | + |
3 | 13 | setup( |
4 | 14 | name="nats-request-asap", |
5 | 15 | packages=find_packages("src"), |
6 | 16 | package_dir={"": "src"}, |
| 17 | + version="0.1", |
| 18 | + license="BSD-2-Clause", |
| 19 | + description="Python function to return one or multiple responses to a " |
| 20 | + "NATS request as soon as possible. ", |
| 21 | + long_description=read("README.md"), |
| 22 | + author="Hugo O. Rivera", |
| 23 | + author_email="hugo@roguh.com", |
| 24 | + url="https://github.com/roguh/nats_request_asap", |
| 25 | + include_package_data=True, |
| 26 | + zip_safe=False, |
| 27 | + classifiers=[ |
| 28 | + "Intended Audience :: Developers", |
| 29 | + "Operating System :: Unix", |
| 30 | + "Operating System :: POSIX", |
| 31 | + "Operating System :: Microsoft :: Windows", |
| 32 | + "Programming Language :: Python", |
| 33 | + "Programming Language :: Python :: 3", |
| 34 | + "Programming Language :: Python :: 3.6", |
| 35 | + "Programming Language :: Python :: 3.7", |
| 36 | + "Programming Language :: Python :: 3.8", |
| 37 | + "Programming Language :: Python :: 3.9", |
| 38 | + "Programming Language :: Python :: Implementation :: CPython", |
| 39 | + "Programming Language :: Python :: Implementation :: PyPy", |
| 40 | + "Topic :: Utilities", |
| 41 | + ], |
| 42 | + project_urls={ |
| 43 | + "Issue Tracker": "https://github.com/roguh/nats_request_asap/issues", |
| 44 | + }, |
| 45 | + keywords=["NATS", "NATS request", "response as soon as possible", "asap response"], |
| 46 | + python_requires=">2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*", |
| 47 | + install_requires=[ |
| 48 | + # eg: 'aspectlib==1.1.1', 'six>=1.7', |
| 49 | + ], |
| 50 | + extras_require={}, |
| 51 | + setup_requires=[], |
| 52 | + entry_points={}, |
7 | 53 | ) |
0 commit comments