-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed installation from sdist (#334)
Wheel cannot use pep517 yet because the installation process involves installing wheel because the setuptools build backend declares it as a dependency for building wheels. A future update of pip may solve this problem. Setuptools_scm, on the other hand, requires wheel as a build time dependency so if somebody tries to install wheel using `--no-binary=:all:`, it also creates a circular dependency. Fixes #332.
- Loading branch information
Showing
10 changed files
with
37 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 |
---|---|---|
|
@@ -13,9 +13,11 @@ jobs: | |
with: | ||
python-version: 3.x | ||
- name: Install dependencies | ||
run: pip install pep517 | ||
run: | | ||
pip install "setuptools >= 40.9" | ||
pip install . | ||
- name: Create packages | ||
run: python -m pep517.build --binary --source --out-dir dist/ . | ||
run: python setup.py sdist bdist_wheel | ||
- name: Upload packages | ||
uses: pypa/[email protected] | ||
with: | ||
|
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,9 @@ | ||
recursive-include src *.py | ||
recursive-include tests *.py *.h *.txt *.c *.dynlib | ||
recursive-include docs *.py *.rst make.bat Makefile | ||
include tests/testdata/test-1.0-py2.py3-none-any.whl | ||
include tox.ini | ||
include manpages/*.rst | ||
prune tests/testdata/*/build | ||
prune tests/testdata/*/dist | ||
prune tests/testdata/*/*.egg-info |
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
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
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,3 @@ | ||
from setuptools import setup | ||
|
||
setup(use_scm_version=True) | ||
setup() |
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 +1 @@ | ||
from ._version import version as __version__ # noqa: F401 | ||
__version__ = '0.34.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