Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove wheel from setup_requires #1950

Merged
merged 5 commits into from
Mar 11, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/install_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
uses: actions/checkout@v2
- name: Build featuretools package
run: make package_featuretools
- name: Install complete version of featuretools
- name: Install complete version of featuretools from sdist
run: |
pip config --site set global.progress_bar off
python -m pip install --upgrade pip
thehomebrewnerd marked this conversation as resolved.
Show resolved Hide resolved
python -m pip install -e unpacked_sdist/[complete]
python -m pip install unpacked_sdist/[complete]
- name: Test by importing packages
run: |
python -c "import alteryx_open_src_update_checker"
Expand Down
14 changes: 11 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,17 @@ checkdeps:
$(eval allow_list='holidays|scipy|numpy|pandas|tqdm|cloudpickle|distributed|dask|psutil|click|pyspark|koalas|woodwork')
pip freeze | grep -v "alteryx/featuretools.git" | grep -E $(allow_list) > $(OUTPUT_PATH)

.PHONY: upgradepip
upgradepip:
python -m pip install --upgrade pip

.PHONY: upgradebuild
upgradebuild:
python -m pip install --upgrade build

.PHONY: package_featuretools
package_featuretools:
python setup.py sdist
$(eval FT_VERSION=$(shell python setup.py --version))
package_featuretools: upgradepip upgradebuild
python -m build
$(eval FT_VERSION := $(shell grep '__version__\s=' featuretools/version.py | grep -o '[^ ]*$$'))
tar -zxvf "dist/featuretools-${FT_VERSION}.tar.gz"
mv "featuretools-${FT_VERSION}" unpacked_sdist
3 changes: 0 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ complete =
* __pycache__
*.py[co]

[bdist_wheel]
universal = 1

[options.entry_points]
console_scripts =
featuretools = featuretools.__main__:cli
Expand Down