summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-06-11 22:29:21 +0200
committerJulian Andres Klode <jak@debian.org>2015-06-11 22:30:22 +0200
commit632fbccb55563e0fbe3d2d380789caa8a9928e25 (patch)
tree79a50703dfbba07b46b59659474636498571c0a0
parent165c3e534716c7f300a6419e2f0ccc331f63c0c9 (diff)
downloadpython-apt-632fbccb55563e0fbe3d2d380789caa8a9928e25.tar.gz
setup.py: Do not raise a value error if there's a tilde in the version
This breaks PPAs. No workaround yet, so PPA users will have to live with pkg_resources complaints. Gbp-Dch: ignore
-rw-r--r--setup.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index b67443fd..0b519e3d 100644
--- a/setup.py
+++ b/setup.py
@@ -36,9 +36,6 @@ def get_version():
version = version.replace("tanglu", "+tanglu")
version = version.split("build")[0]
- if "~" in version:
- raise ValueError("Invalid version")
-
return version