[git-buildpackage] [PATCH] setup.py: require dateutil
Guido Günther
agx at sigxcpu.org
Tue Jul 4 08:00:55 CEST 2017
Hi Ken,
On Mon, Jul 03, 2017 at 04:09:54PM -0600, Ken Dreyer wrote:
> 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.
Pushed. Thanks!
-- Guido
> ---
> setup.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/setup.py b/setup.py
> index 385d2f4..b6d6c3d 100755
> --- a/setup.py
> +++ b/setup.py
> @@ -73,7 +73,7 @@ setup(name="gbp",
> 'bin/gbp-builder-mock'],
> packages=find_packages(exclude=['tests', 'tests.*']),
> data_files=[("share/git-buildpackage/", ["gbp.conf"]), ],
> - requires=["six"],
> + requires=["six", "python-dateutil"],
> setup_requires=setup_requires(),
> entry_points={
> 'console_scripts': ['gbp=gbp.scripts.supercommand:supercommand'],
> --
> 2.9.4
>
> _______________________________________________
> git-buildpackage mailing list
> git-buildpackage at lists.sigxcpu.org
> http://lists.sigxcpu.org/mailman/listinfo/git-buildpackage
>
More information about the git-buildpackage
mailing list