Skip to content

Commit 582f8ed

Browse files
committed
Remove setuptools workaround
See pypa/setuptools#1180.
1 parent 00c66f2 commit 582f8ed

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

tests/rendered/default/expected/lorem-ipsum/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ install_requires =
2929
click
3030
python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
3131
packages = find:
32+
package_dir = = src
3233

3334
[options.extras_require]
3435
dev =
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from setuptools import setup
22

33

4-
setup(package_dir={"": "src"})
4+
setup()

tests/rendered/travis/expected/lorem-ipsum/setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ zip_safe = False
2424
install_requires =
2525
python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
2626
packages = find:
27+
package_dir = = src
2728

2829
[options.extras_require]
2930
dev =
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from setuptools import setup
22

33

4-
setup(package_dir={"": "src"})
4+
setup()

{{cookiecutter.project_slug}}/setup.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ install_requires ={% if cookiecutter.cli_parser == "click" %}
5151
click{% endif %}
5252
python_requires = >={{ cookiecutter.python_min_version }}, {% if cookiecutter.python_min_version == "2.7" %}!=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, {% endif %}{% if cookiecutter.python_min_version >= "3.5" %}!=3.4.*, {% endif %}{% if cookiecutter.python_min_version >= "3.6" %}!=3.5.*, {% endif%}{% if cookiecutter.python_min_version >= "3.7" %}!=3.6.*, {% endif %}<4
5353
packages = find:
54-
{%- if cookiecutter.python_min_version >= "3.0" %}
5554
package_dir = = src
56-
{%- endif %}
5755

5856
[options.extras_require]
5957
dev =
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from setuptools import setup
22

33

4-
setup({% if cookiecutter.python_min_version < "3.0" %}package_dir={"": "src"}{% endif %})
4+
setup()

0 commit comments

Comments
 (0)