Skip to content

Commit 41a1f6b

Browse files
committed
Tweak setup.py metadata
1 parent 514c872 commit 41a1f6b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

setup.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@
88
from io import open
99

1010

11-
doclines = __doc__.strip().split('\n')
11+
VERSION = '1.0.0.dev1'
12+
GITHUB_URL = 'https://github.com/oohlaf/python-whirlpool'
13+
DOWNLOAD_URL = '{}/archive/{}.zip'.format(GITHUB_URL, VERSION)
1214

15+
DOCLINES = __doc__.strip().split('\n')
1316

1417
HERE = os.path.abspath(os.path.dirname(__file__))
1518
with open(os.path.join(HERE, 'README.md'), encoding='utf-8') as f:
@@ -19,8 +22,8 @@
1922

2023

2124
setup(name = "Whirlpool",
22-
version = "1.0.0.dev1",
23-
description = doclines[0],
25+
version = VERSION,
26+
description = DOCLINES[0],
2427
long_description = README + '\n' + CHANGELOG,
2528
long_description_content_type = "text/markdown",
2629
classifiers=[
@@ -40,7 +43,8 @@
4043
"Topic :: Security :: Cryptography",
4144
"Topic :: Software Development :: Libraries :: Python Modules",
4245
],
43-
url = "https://github.com/oohlaf/python-whirlpool",
46+
url = GITHUB_URL,
47+
download_url = DOWNLOAD_URL,
4448
maintainer = "Olaf Conradi",
4549
maintainer_email = "[email protected]",
4650
license = "Public Domain",

0 commit comments

Comments
 (0)