Skip to content

Commit

Permalink
move package to src directory for better testing environment (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Sullivan authored Oct 7, 2019
1 parent 2e029f8 commit 08633c3
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ recursive-include tests *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]

recursive-include bwapi *
recursive-include src *
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tag = True
search = version="{current_version}"
replace = version="{new_version}"

[bumpversion:file:bwapi/__init__.py]
[bumpversion:file:src/bwapi/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
packages=find_packages(include=["bwapi"]),
packages=find_packages(where="src", include=["bwapi"]),
package_dir={"": "src"},
entry_points={"console_scripts": ["bwapi-authenticate = bwapi.authenticate:main"]},
install_requires=requirements,
tests_require=test_requirements,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 08633c3

Please sign in to comment.