Skip to content

Commit

Permalink
Fixing download URLs, release script
Browse files Browse the repository at this point in the history
  • Loading branch information
linsomniac committed Dec 15, 2017
1 parent 7942465 commit bad4122
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion do_release
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,5 @@ git push --tags
cd /tmp
release "$VERSION" python-memcached
cd python-memcached-"$VERSION"
python setup.py sdist bdist_wheel upload
python setup.py sdist bdist_wheel
twine upload -r pypitest dist/*"$VERSION"* && twine upload -r pypi dist/*"$VERSION"*
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@
from setuptools import setup # noqa


version = get_module_constant('memcache', '__version__')
setup(
name="python-memcached",
version=get_module_constant('memcache', '__version__'),
version=version,
description="Pure python memcached client",
long_description=open("README.md").read(),
author="Evan Martin",
author_email="[email protected]",
maintainer="Sean Reifschneider",
maintainer_email="[email protected]",
url="http://www.tummy.com/Community/software/python-memcached/",
download_url="ftp://ftp.tummy.com/pub/python-memcached/",
url="https://github.com/linsomniac/python-memcached",
download_url="https://github.com/linsomniac/python-memcached/releases/download/{0}/python-memcached-{0}.tar.gz".format(version),
py_modules=["memcache"],
install_requires=open('requirements.txt').read().split(),
classifiers=[
Expand Down

0 comments on commit bad4122

Please sign in to comment.