Skip to content

Commit 01bb62d

Browse files
Change back into original with change in setup.py
1 parent 034bd70 commit 01bb62d

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/python-publish.yml

+5-8
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,15 @@ jobs:
1616
- name: Set up Python
1717
uses: actions/setup-python@v2
1818
with:
19-
python-version: '3.7'
19+
python-version: '3.x'
2020
- name: Install dependencies
2121
run: |
22-
sudo apt-get install gcc libpq-dev -y
23-
sudo apt-get install python-dev python-pip -y
24-
sudo apt-get install python3-dev python3-pip python3-venv python3-wheel -y
25-
pip3 install --upgrade pip
26-
pip3 install setuptools wheel twine --upgrade --force
22+
python -m pip install --upgrade pip
23+
pip install setuptools wheel twine
2724
- name: Build and publish
2825
env:
2926
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
3027
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3128
run: |
32-
python3 setup.py sdist bdist_wheel
33-
twine upload dist/*
29+
python setup.py sdist bdist_wheel
30+
twine upload dist/*

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from distutils.core import setup
1+
from setuptools import setup
22

33
setup(
44
name="extra_keras_datasets",

0 commit comments

Comments
 (0)