Skip to content

Commit

Permalink
Corrected py_modules to be packages
Browse files Browse the repository at this point in the history
  • Loading branch information
jsolbrig committed Nov 6, 2018
1 parent 98a0a6c commit 99052b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
from distutils.util import convert_path
from sphinx.setup_command import BuildDoc

name = 'ArgDoc'

main_ns = {}
ver_path = convert_path('argdoc/version.py')
with open(ver_path) as ver_file:
exec(ver_file.read(), main_ns)

cmdclass = {'build_sphinx': BuildDoc}

name = 'ArgDoc'

with open('README.md', 'r') as rm:
long_description = rm.read()

Expand All @@ -23,7 +23,7 @@
description='A package for reducing copy/paste of argument descriptions in docstrings',
long_description=long_description,
long_description_content_type="text/markdown",
py_modules=['argdoc'],
packages=['argdoc'],
cmdclass=cmdclass,
command_options={
'build_sphinx': {
Expand Down

0 comments on commit 99052b2

Please sign in to comment.