Skip to content

Commit fb00c4e

Browse files
author
Tyler Goodlet
committed
Convert pluggy.py into a package module
1 parent 76e8aba commit fb00c4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
File renamed without changes.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
def get_version():
2222
p = os.path.join(os.path.dirname(
23-
os.path.abspath(__file__)), "pluggy.py")
23+
os.path.abspath(__file__)), "pluggy/__init__.py")
2424
with open(p) as f:
2525
for line in f.readlines():
2626
if "__version__" in line:
@@ -40,7 +40,7 @@ def main():
4040
author_email='holger at merlinux.eu',
4141
url='https://github.com/pytest-dev/pluggy',
4242
classifiers=classifiers,
43-
py_modules=['pluggy'],
43+
packages=['pluggy'],
4444
)
4545

4646

0 commit comments

Comments
 (0)