Skip to content

Commit b0b6f3d

Browse files
authored
Update setup.py, setup.cfg, and deploy workflow (#1572)
* first * Update CHANGELOG.md
1 parent 4f8f7eb commit b0b6f3d

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/deploy_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
run: |
4444
python -m pip install twine
4545
ls -1 dist
46-
# twine upload --repository testpypi -u ${{ secrets.BOT_PYPI_USER }} -p ${{ secrets.BOT_PYPI_PASSWORD }} --skip-existing dist/*
47-
twine upload -u ${{ secrets.BOT_PYPI_USER }} -p ${{ secrets.BOT_PYPI_PASSWORD }} --skip-existing dist/*
46+
twine upload --repository-url https://test.pypi.org/legacy/ -u ${{ secrets.BOT_PYPI_USER }} -p ${{ secrets.BOT_PYPI_PASSWORD }} --skip-existing dist/*
47+
# twine upload -u ${{ secrets.BOT_PYPI_USER }} -p ${{ secrets.BOT_PYPI_PASSWORD }} --skip-existing dist/*
4848
4949
- name: Publish wheel and source distributions as a GitHub release
5050
run: |

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
[#1557](https://github.com/NeurodataWithoutBorders/pynwb/pull/1557)
1717
- Minor fixes to test suite to prevent warnings. @rly
1818
[#1571](https://github.com/NeurodataWithoutBorders/pynwb/pull/1571)
19+
- Made build wheel python 3 only. @mavaylon1
20+
[#1572](https://github.com/NeurodataWithoutBorders/pynwb/pull/1572)
1921

2022
## PyNWB 2.1.1 (September 1, 2022)
2123

setup.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
[bdist_wheel]
2-
universal = 1
31

42
[versioneer]
53
VCS = git

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
'packages': pkgs,
4545
'package_dir': {'': 'src'},
4646
'package_data': {'pynwb': ["%s/*.yaml" % schema_dir, "%s/*.json" % schema_dir]},
47+
'python_requires': '>=3.7',
4748
'classifiers': [
4849
"Programming Language :: Python",
4950
"Programming Language :: Python :: 3.7",

0 commit comments

Comments
 (0)