[git-buildpackage] [PATCH] setup.py: require dateutil
Ken Dreyer
kdreyer at redhat.com
Tue Jul 4 00:09:54 CEST 2017
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.
---
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
More information about the git-buildpackage
mailing list