aboutsummaryrefslogtreecommitdiffhomepage
path: root/setup.py
Commit message (Collapse)AuthorAge
* setup.py: Move version parser into setup.pyGuido Günther2019-03-19
| | | | This makes sure it ends up in the sdist tarball.
* setup.py: Fix gbp problem when installed with pipKiss György2018-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | when installed with "pip install gbp" it will be installed as version "0.0" because the released version doesn't have a debian/changelog file, so it will be installed with a warning: balabit-bbos-tools 1.0.0 has requirement gbp==0.9.8, but you'll have gbp 0.0 which is incompatible. and will cause an Exception when using gbp from a setuptools entrypoint script: File "/home/walkman/stew/projects/platform/source/balabit-os-tools/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 574, in _build_master ws.require(__requires__) File "/home/walkman/stew/projects/platform/source/balabit-os-tools/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 892, in require needed = self.resolve(parse_requirements(requirements)) File "/home/walkman/stew/projects/platform/source/balabit-os-tools/.venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 783, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (gbp 0.0 (/home/walkman/stew/projects/platform/source/balabit-os-tools/.venv/lib/python3.6/site-packages), Requirement.parse('gbp==0.9.8'), {'requiresgbp'}) This is because pkg_resources checks every dependency version and if it doesn't match with the egg-info, it raises this Exception. Instead, we try to parse the debian/changelog first, then load the version, or if the debian/changelog file doesn't exists (this is the case at pip install) we read the gbp/version.py and parse the version from it. There is a "round trip check", which means the parsed version is written, then it will be read back immediately to see if there is any problem.
* setup.py: add python_requiresGuido Günther2017-11-06
| | | | | | so pip doesn't use the gbp module for python2 Thanks: Nico Schlömer for the proposed solution
* No need to depend on six anymoreGuido Günther2017-10-20
|
* setup.py: indicate we're python3 nowGuido Günther2017-08-02
|
* Switch all interpreters to /usr/bin/python3Guido Günther2017-08-02
|
* Use install_requirementsGuido Günther2017-07-05
|
* setup.py: require dateutilGuido Günther2017-07-04
| | | | since that's the name of the module
* Revert "setup.py: require dateutil"Guido Günther2017-07-04
| | | | | | | | | | | | | | | | | | | | | since it breaks setup.py with Traceback (most recent call last): File "setup.py", line 79, in <module> 'console_scripts': ['gbp=gbp.scripts.supercommand:supercommand'], File "/usr/lib/python2.7/distutils/core.py", line 111, in setup _setup_distribution = dist = klass(attrs) File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 320, in __init__ _Distribution.__init__(self, attrs) File "/usr/lib/python2.7/distutils/dist.py", line 259, in __init__ getattr(self.metadata, "set_" + key)(val) File "/usr/lib/python2.7/distutils/dist.py", line 1220, in set_requires distutils.versionpredicate.VersionPredicate(v) File "/usr/lib/python2.7/distutils/versionpredicate.py", line 113, in __init__ raise ValueError("expected parenthesized list: %r" % paren) ValueError: expected parenthesized list: '-dateutil' This reverts commit d05dfea469e71f4fa13619f69639b83a105cea34.
* setup.py: require dateutilKen Dreyer2017-07-04
| | | | | | | | | | We import dateutil, but we only declare this dependency within the debian packaging and RPM packaging. Add the dependency to Python's setuptools packaging as well. This allows git-buildpackage to install seamlessly within a Python virtualenv. Signed-off-by: Guido Günther <agx@sigxcpu.org>
* Use relative patch to install gbp.confGuido Günther2016-12-18
| | | | to make pip install --user work
* setup.py: use a valid classifierGuido Günther2016-12-15
| | | | from the list at https://pypi.python.org/pypi?%3Aaction=list_classifiers
* Rename README to README.mdGuido Günther2016-09-12
| | | | to get Markdown formatting
* Make generated version file flake8 cleanGuido Günther2016-09-12
|
* setup: flake8 cleanGuido Günther2016-09-12
|
* pep8/pyflakes cleanupsGuido Günther2016-09-12
|
* trivial: make setup.py executableMaximiliano Curia2016-09-07
|
* buildpackage-rpm: add support for mock chroot builderGuido Günther2015-11-16
| | | | | | | | | | Try: gbp buildpackage-rpm --git-mock --git-dist=epel-6 Results will be under ../rpmbuild/results/ This is very heavily based on a patch from Tzafrir Cohen.
* setup.py: decode stringGuido Günther2015-10-23
| | | | to make Python3 happy
* Fix FSF address - thanks rpmlintEvgeni Golov2015-06-22
| | | | use gnu.org/licences instead of a postal address, as suggested by Guido
* Require sixGuido Günther2015-02-20
| | | | | | to work towards Python3 support Gbp-Dch: Ignore
* Drop all gbp-* and git-* commandsGuido Günther2015-02-17
| | | | as announced in the deprecation notice from June 2013.
* Complete setup.py for pypiGuido Günther2014-10-17
|
* Use open() instead of file()Guido Günther2013-08-28
| | | | since the later doesn't exist in python3
* Minor docstring updatesGuido Günther2013-08-22
|
* Consistently call gbp the supercommandGuido Günther2013-06-26
| | | | and robustify against invalid modules names.
* Add wrapper for all gbp commandsGuido Günther2013-06-18
| | | | | So like git you can now use gbp <command> instead of git-<command> or gbp-<command>. The manpages and docs aren't adjusted yet.
* Generate coverage xmlGuido Günther2013-04-06
| | | | | for cobertura style coverage information that can be picked up by e.g. Jenkins
* setup: possibility to skip nosetest requirementsMarkus Lehtonen2013-03-22
| | | | | | | Makes it possible to not require test requirements by defining WITHOUT_NOSETESTS environment variable when running setup. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* tests: make tests a Python moduleMarkus Lehtonen2012-11-23
| | | | | | Makes it possible to reuse code between various tests. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* Lower dependencies on python-nose and python-coverageGuido Günther2012-02-13
| | | | the versions in Squeeze are recent enough.
* Move debian related helpers into submoduleGuido Günther2011-11-22
|
* Move git code into submoduleGuido Günther2011-11-20
|
* Move gbp/version.py generation into setup.pyGuido Günther2011-11-07
| | | | This allows us to build on non Debian systems with setup.py only.
* Use setuptools to run the testsGuido Günther2011-11-06
|
* Get rid of the symlinkGuido Günther2011-11-01
| | | | by moving the commands to gbp/scripts/
* Make gbp-create-remote-repo a first class citizenGuido Günther2011-01-11
| | | | Add manpage, move into path, add bash completion
* Add git-pbuilderGuido Günther2010-08-11
| | | | | Thanks: Russ Allbery Closes: #583078
* Make gbp-clone, gbp-pull and gbp-pq first class citizensGuido Günther2009-11-22
| | | | by moving them from examples/ to /usr/bin/
* add git-import-dscsGuido Guenther2008-05-17
| | | | | to import mutiple dscs in one go Closes: #471580
* add git-dchGuido Guenther2007-09-30
|
* use GBPError everywhere and move commands from __init__ to command_wrappers.pyGuido Guenther2007-02-11
| | | | Furthermore pass '-v' in git import-orig on to git_load_dirs
* config file parsing to set default branches and build commandsGuido Guenther2006-12-05
|
* git-import-orig: don't try import new upstream versions when there are ↵Guido Guenther2006-09-27
| | | | uncommitted changes
* git-import-dsc: import of debian native packagesGuido Guenther2006-09-27
|
* git-debuild -> git-buildpackageGuido Guenther2006-09-25
|
* add git-import-origGuido Guenther2006-09-25
|
* add debian packagingGuido Guenther2006-09-12