Skip to content

Commit

Permalink
setup.py: fix missing download url, use correct name
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Arnold <[email protected]>
  • Loading branch information
sarnold committed Jan 12, 2020
1 parent cd7c531 commit aea3632
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
from distutils.command.build_ext import build_ext


__version__ = '1.0.2'
NANOMSG_VERSION = '1.0.2-1'
REL_TAG = NANOMSG_VERSION.replace('-', 'p')

FPND_DOWNLOAD_URL = (
'https://github.com/freepn/nanomsg-python/tarball/' + __version__
NANOMSG_DOWNLOAD_URL = (
'https://github.com/freepn/nanomsg-python/tarball/' + REL_TAG
)


Expand Down Expand Up @@ -60,7 +61,7 @@

setup(
name='nanomsg',
version=__version__,
version=NANOMSG_VERSION,
packages=[str('nanomsg'), str('_nanomsg_ctypes'), str('nanomsg_wrappers')],
ext_modules=[cpy_extension],
install_requires=install_requires,
Expand All @@ -79,6 +80,7 @@
author='Tony Simpson',
author_email='[email protected]',
url='https://github.com/tonysimpson/nanomsg-python',
download_url=NANOMSG_DOWNLOAD_URL,
keywords=['nanomsg', 'driver'],
license='MIT',
test_suite="tests",
Expand Down

0 comments on commit aea3632

Please sign in to comment.