-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from monocongo/issue_119_src_dir_pypa_sample
Now with src directory support, closer to sample PyPI sample project
- Loading branch information
Showing
22 changed files
with
54 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
include pyproject.toml | ||
|
||
# include the README | ||
include *.md | ||
|
||
# include the license file | ||
include LICENSE.txt | ||
|
||
# include all files under the src directory | ||
graft src |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[build-system] | ||
# These are the assumed default build requirements from pip: | ||
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support | ||
requires = ["setuptools>=40.8.0", "wheel"] | ||
build-backend = "setuptools.build_meta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[metadata] | ||
# This includes the license file(s) in the wheel. | ||
# https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file | ||
license_files = LICENSE.txt | ||
|
||
[bdist_wheel] | ||
# This flag says to generate wheels that support both Python 2 and Python | ||
# 3. If your code will not run unchanged on both Python 2 and 3, you will | ||
# need to generate separate wheels for each Python version that you | ||
# support. Removing this line (or setting universal to 0) will prevent | ||
# bdist_wheel from trying to make a universal wheel. For more see: | ||
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#wheels | ||
universal=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
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.
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.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,24 @@ | ||
[tox] | ||
envlist = py37 | ||
envlist = py{36,37,},coverage | ||
|
||
# Define the minimal tox version required to run; if the host | ||
# tox is less than this the tool with create an environment and | ||
# provision it with a tox that satisfies it under provision_tox_env. | ||
# At least this version is needed for PEP 517/518 support. | ||
minversion = 3.3.0 | ||
|
||
# Activate isolated build environment. tox will use a virtual environment | ||
# to build a source distribution from the source tree. For build tools and | ||
# arguments use the pyproject.toml file as specified in PEP-517 and PEP-518. | ||
isolated_build = true | ||
|
||
[testenv] | ||
deps = opencv-python | ||
deps = | ||
coverage | ||
opencv-python | ||
pytest | ||
scikit-image | ||
commands = pytest | ||
commands = | ||
python setup.py check -m -s | ||
py.test tests {posargs} | ||
|