Skip to content

Commit

Permalink
setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KissPeter committed Jan 1, 2021
1 parent 96a0ad7 commit a3de70a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion apifuzzer/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.9'
__version__ = '0.9.5'
6 changes: 6 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,9 @@ clean:
apidoc:
sphinx-apidoc ../apifuzzer -f -e -o .

builld-pip-package:
cd ..
find . -name "__pycache __" -exec rm -rf {} \;
rm -fr dist/ build/ *.egg-info
python3 setup.py sdist bdist_wheel
tar -tvf dist/APIFuzzer-*.tar.gz
22 changes: 10 additions & 12 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

__version__ = re.search(
r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]', # It excludes inline comment too
open("apifuzzer/__init__.py", encoding="utf_8_sig").read(),
open("apifuzzer/__init__.py").read(),
).group(1)

REQUIREMENTS_FILE_PATH = path.join(
Expand All @@ -29,37 +29,35 @@ def read(*parts):
if not line.startswith("#") and not line.startswith("--")
]



setup_options = dict(
name='APIFuzzer',
version=__version__,
description='Fuzz test your application using Swagger or OpenAPI definition without coding',
long_description=read('README.rst'),
long_description=read('README.md'),
long_description_content_type="text/markdown",
author='Péter Kiss',
author='Peter Kiss',
author_email='peter.kiss@linuxadm.hu',
url='https://github.com/KissPeter/APIFuzzer/',
scripts=['APIFuzzer'],
packages=find_packages(exclude=['tests*']),
package_data={'apifuzzer': ['apifuzzer/fuzzer_target/*.py']},
packages=find_packages(exclude=["test"]),
install_requires=REQUIREMENTS_FILE,
extras_require={},
license="GNU General Public License v3.0",
classifiers=[
classifiers=[ # https://pypi.org/classifiers/
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Developers',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
'Natural Language :: English',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords='Fuzz test, QA, Qualatiy Assurance, Secruty testing, Swagger, OpenAPI',
keywords='Fuzz test, QA, Software Quality Assurance, Security testing, Swagger, OpenAPI',
python_requires='>=3.6, <4',
package_data={"apifuzzer": ['fuzzer_target/*.py']},
exclude_package_data={"test": ["*"]}
)

setup(**setup_options)
Expand Down

0 comments on commit a3de70a

Please sign in to comment.