Skip to content

Commit ebd8e4e

Browse files
committed
Build: Evil PyPI enforces lower-case distribution names
Rename the distribution to `sqlobject`.
1 parent 69e9604 commit ebd8e4e

2 files changed

Lines changed: 5 additions & 15 deletions

File tree

devscripts/release

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,5 @@ if [ "$state" = final ]; then
2424
devscripts/sftp-frs
2525
fi &&
2626

27-
cd dist &&
28-
if [ -f SQLObject-$version.tar.gz ]; then
29-
mv SQLObject-$version.tar.gz sqlobject-$version.tar.gz
30-
fi &&
31-
if [ -f SQLObject-$version-py2.py3-none-any.whl ]; then
32-
mv SQLObject-$version-py2.py3-none-any.whl \
33-
sqlobject-$version-py2.py3-none-any.whl
34-
fi &&
35-
cd .. &&
36-
3727
twine upload --disable-progress-bar --skip-existing dist/* &&
38-
exec rm -rf build dist docs/html SQLObject.egg-info
28+
exec rm -rf build dist docs/html sqlobject.egg-info

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
'versioning', 'versioning.test']
2424

2525
setup(
26-
name="SQLObject",
26+
name="sqlobject",
2727
version=sqlobject_version['version'],
2828
description="Object-Relational Manager, aka database wrapper",
2929
long_description="""\
@@ -75,12 +75,12 @@
7575
maintainer="Oleg Broytman",
7676
maintainer_email="phd@phdru.name",
7777
url="http://sqlobject.org/",
78-
download_url="https://pypi.org/project/SQLObject/%s/" %
78+
download_url="https://pypi.org/project/sqlobject/%s/" %
7979
sqlobject_version['version'],
8080
project_urls={
8181
'Homepage': 'http://sqlobject.org/',
8282
'Development docs': 'http://sqlobject.org/devel/',
83-
'Download': 'https://pypi.org/project/SQLObject/%s/' %
83+
'Download': 'https://pypi.org/project/sqlobject/%s/' %
8484
sqlobject_version['version'],
8585
'Github repo': 'https://github.com/sqlobject',
8686
'Issue tracker': 'https://github.com/sqlobject/sqlobject/issues',
@@ -213,7 +213,7 @@
213213
https://lists.sourceforge.net/mailman/listinfo/sqlobject-discuss
214214
215215
Download:
216-
https://pypi.org/project/SQLObject/@@/
216+
https://pypi.org/project/sqlobject/@@/
217217
218218
News and changes:
219219
http://sqlobject.org/docs/News.html

0 commit comments

Comments
 (0)