forked from ufoym/imbalanced-dataset-sampler
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follows up ufoym#47 - on [pypi](https://pypi.org/project/torchsampler/0.1.1/) it's 0.1.1 - on github it's [0.1.0](https://github.com/ufoym/imbalanced-dataset-sampler/releases/tag/v0.1.0) - but the attached [wheel](https://github.com/ufoym/imbalanced-dataset-sampler/releases/download/v0.1.0/torchsampler-0.1.1-py3-none-any.whl) and [sdist](https://github.com/ufoym/imbalanced-dataset-sampler/releases/download/v0.1.0/torchsampler-0.1.1.tar.gz) are 0.1.1 [`setuptools-scm`](https://pypi.org/project/setuptools-scm/) makes git the single-source of truth for the version of the package, and works well with the build script in ufoym#47 (which is triggered by tagging a new version in git). `setuptools-scm` also replaces most of MANIFEST.in, so this removes the redundant lines from that too.
- Loading branch information
Showing
5 changed files
with
18 additions
and
19 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
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,24 +1,11 @@ | ||
# Manifest syntax https://docs.python.org/2/distutils/sourcedist.html | ||
graft wheelhouse | ||
# Manifest syntax https://setuptools.pypa.io/en/latest/deprecated/distutils/commandref.html#sdist-cmd | ||
|
||
recursive-exclude __pycache__ *.py[cod] *.orig | ||
|
||
# Include the README | ||
include *.md | ||
|
||
# Include the license file | ||
include LICENSE | ||
|
||
recursive-include torchsampler *.py | ||
|
||
# Include the Requirements | ||
include requirements.txt | ||
# FIXME: switching to a src/ layout would obviate the need for this file entirely. | ||
# see https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#src-layout | ||
|
||
# Exclude build configs | ||
exclude *.yml | ||
exclude *.yaml | ||
|
||
prune .github | ||
prune example* | ||
prune temp* | ||
prune test* |
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,3 +1,4 @@ | ||
torch>=1.3 | ||
torchvision>=0.5 | ||
pandas | ||
importlib_metadata; python_version<'3.8' |
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
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