Skip to content

Commit

Permalink
Add a package_dir attribute
Browse files Browse the repository at this point in the history
Since this Python module doesn't use a standard src-layout, setuptools
gets confused and is unable to locate the packages to be included.
Since this "Python module" is really just a collection of scripts, we
can tell setuptools to restrict itself to project_setup/scripts.

This is yet another reason why #33 is a good idea.
  • Loading branch information
jsf9k committed Apr 19, 2022
1 parent d5aebf6 commit e28489e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def package_vars(version_file):
python_requires=">=3.6",
# What does your project relate to?
keywords="documentation",
package_dir={"": "project_setup/scripts"},
install_requires=[
"boto3",
"docopt",
Expand Down

0 comments on commit e28489e

Please sign in to comment.