mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-12 23:54:17 +00:00
Use dash-seperated name for PYPI package
The name of the package will be normalized by `setuptools` anyway and it will most likely appear as dash-separated on PYPI.[1] This change also helps to keep the distinction between the PYPI package name and regular python packages (the directories with __init__.py files). [1]: https://mail.python.org/pipermail/distutils-sig/2011-August/017936.html
This commit is contained in:
parent
3530870679
commit
5a66d7456a
1 changed files with 2 additions and 2 deletions
|
|
@ -34,13 +34,13 @@ like:
|
||||||
flake8_entry_point = # ...
|
flake8_entry_point = # ...
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="flake8_example",
|
name="flake8-example",
|
||||||
license="MIT",
|
license="MIT",
|
||||||
version="0.1.0",
|
version="0.1.0",
|
||||||
description="our extension to flake8",
|
description="our extension to flake8",
|
||||||
author="Me",
|
author="Me",
|
||||||
author_email="example@example.com",
|
author_email="example@example.com",
|
||||||
url="https://gitlab.com/me/flake8_example",
|
url="https://gitlab.com/me/flake8-example",
|
||||||
packages=[
|
packages=[
|
||||||
"flake8_example",
|
"flake8_example",
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue