mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
Fixed generation of download url from beta version
This commit is contained in:
parent
21fbe2bd2a
commit
4b78ca4405
3
setup.py
3
setup.py
|
@ -609,7 +609,8 @@ ext.append(Extension("psycopg2._psycopg", sources,
|
|||
# using these pretty metadata. But that's their problem, not ours.
|
||||
download_url = (
|
||||
"http://initd.org/psycopg/tarballs/PSYCOPG-%s/psycopg2-%s.tar.gz"
|
||||
% ('-'.join(PSYCOPG_VERSION.split('.')[:2]), PSYCOPG_VERSION))
|
||||
% (re.sub(r'^(\d+)\.(\d+).*', r'\1-\2', PSYCOPG_VERSION),
|
||||
PSYCOPG_VERSION))
|
||||
|
||||
try:
|
||||
f = open("README.rst")
|
||||
|
|
Loading…
Reference in New Issue
Block a user