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:
5j9 2017-12-11 21:20:04 +03:30 committed by GitHub
parent 3530870679
commit 5a66d7456a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,13 +34,13 @@ like:
flake8_entry_point = # ...
setuptools.setup(
name="flake8_example",
name="flake8-example",
license="MIT",
version="0.1.0",
description="our extension to flake8",
author="Me",
author_email="example@example.com",
url="https://gitlab.com/me/flake8_example",
url="https://gitlab.com/me/flake8-example",
packages=[
"flake8_example",
],