Skip to content

Commit bad4122

Browse files
committed
Fixing download URLs, release script
1 parent 7942465 commit bad4122

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

do_release

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ git push --tags
2929
cd /tmp
3030
release "$VERSION" python-memcached
3131
cd python-memcached-"$VERSION"
32-
python setup.py sdist bdist_wheel upload
32+
python setup.py sdist bdist_wheel
33+
twine upload -r pypitest dist/*"$VERSION"* && twine upload -r pypi dist/*"$VERSION"*

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,18 @@
44
from setuptools import setup # noqa
55

66

7+
version = get_module_constant('memcache', '__version__')
78
setup(
89
name="python-memcached",
9-
version=get_module_constant('memcache', '__version__'),
10+
version=version,
1011
description="Pure python memcached client",
1112
long_description=open("README.md").read(),
1213
author="Evan Martin",
1314
author_email="[email protected]",
1415
maintainer="Sean Reifschneider",
1516
maintainer_email="[email protected]",
16-
url="http://www.tummy.com/Community/software/python-memcached/",
17-
download_url="ftp://ftp.tummy.com/pub/python-memcached/",
17+
url="https://github.com/linsomniac/python-memcached",
18+
download_url="https://github.com/linsomniac/python-memcached/releases/download/{0}/python-memcached-{0}.tar.gz".format(version),
1819
py_modules=["memcache"],
1920
install_requires=open('requirements.txt').read().split(),
2021
classifiers=[

0 commit comments

Comments
 (0)