Skip to content

Commit

Permalink
Convert pluggy.py into a package module
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler Goodlet committed Jul 7, 2017
1 parent 76e8aba commit fb00c4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

def get_version():
p = os.path.join(os.path.dirname(
os.path.abspath(__file__)), "pluggy.py")
os.path.abspath(__file__)), "pluggy/__init__.py")
with open(p) as f:
for line in f.readlines():
if "__version__" in line:
Expand All @@ -40,7 +40,7 @@ def main():
author_email='holger at merlinux.eu',
url='https://github.com/pytest-dev/pluggy',
classifiers=classifiers,
py_modules=['pluggy'],
packages=['pluggy'],
)


Expand Down

0 comments on commit fb00c4e

Please sign in to comment.