summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-06-28 00:00:27 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2020-06-28 03:31:52 +0530
commitb6d2e150385b277e573417e4e33f3326869be417 (patch)
treeff03bfbb34d33980ddda0112c8f5f18a9724928c /setup.py
parent631fc185fbebd1c3bef33e3e40809f4e0f07910b (diff)
cerbero: Define a custom user agent while downloading
Some places block urllib, and others block wget / curl. Set our own agent to workaround that, and so that people can contact us in case we're doing something they don't like while downloading things.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 162b13ff..cd661d28 100644
--- a/setup.py
+++ b/setup.py
@@ -4,6 +4,7 @@ import shutil
from setuptools import setup, find_packages
from setuptools.command import sdist as setuptools_sdist
from cerbero.utils import shell
+from cerbero.enums import CERBERO_VERSION
from distutils.dir_util import copy_tree
import distutils.log
@@ -127,7 +128,7 @@ class extended_sdist(setuptools_sdist.sdist):
setup(
name = "cerbero",
- version = '1.14.5',
+ version = CERBERO_VERSION,
author = "Andoni Morales",
author_email = "amorales@fluendo.com",
description = ("Multi platform build system for Open Source projects"),