|
1 | 1 | from setuptools import find_packages, setup |
2 | 2 | import pypandoc |
3 | 3 |
|
4 | | - |
5 | | -def readme(): |
6 | | - return pypandoc.convert('readme.md', 'rst') |
| 4 | +URL = 'https://github.com/olipratt/swagger-conformance' |
| 5 | +VERSION = '0.1.1' |
| 6 | +LONG_DESC = pypandoc.convert('readme.md', 'rst') |
7 | 7 |
|
8 | 8 |
|
9 | 9 | setup( |
10 | 10 | name='swagger-conformance', |
11 | 11 | packages=find_packages(exclude=['examples', 'docs', 'tests']), |
12 | 12 | install_requires=['hypothesis', 'pyswagger', 'requests'], |
13 | | - version='0.1', |
14 | | - description="Tool for testing whether your API conforms to it's swagger specification", |
15 | | - long_description=readme(), |
| 13 | + version=VERSION, |
| 14 | + description="Tool for testing whether your API conforms to its swagger " |
| 15 | + "specification", |
| 16 | + long_description=LONG_DESC, |
16 | 17 | author='Oli Pratt', |
17 | 18 | author_email='olipratt@users.noreply.github.com', |
18 | | - url='https://github.com/olipratt/swagger-conformance', |
19 | | - download_url='https://github.com/olipratt/swagger-conformance/archive/0.1.tar.gz', |
| 19 | + url=URL, |
| 20 | + download_url='{}/archive/{}.tar.gz'.format(URL, VERSION), |
20 | 21 | keywords=['swagger', 'testing', 'OpenAPI', 'hypothesis'], |
21 | 22 | license='MIT', |
22 | 23 | classifiers=[ |
23 | | - 'Development Status :: 3 - Alpha', |
| 24 | + 'Development Status :: 4 - Beta', |
24 | 25 | 'Intended Audience :: Developers', |
25 | 26 | 'Topic :: Software Development :: Testing', |
26 | 27 | 'License :: OSI Approved :: MIT License', |
|
0 commit comments