chiark / gitweb /
set minimum Python version to 3.4
authorHans-Christoph Steiner <hans@eds.org>
Fri, 15 Sep 2017 09:31:18 +0000 (11:31 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Fri, 15 Sep 2017 09:35:30 +0000 (11:35 +0200)
We use contructs introduced in 3.4, and 3.4 is really widely available.

https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords

setup.py

index 6ee8c3a8b60dbe19eaabd5424820e1032589f765..ef153039374dfb903ddc0eb3708e78ccbd4b8b39 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -17,6 +17,7 @@ setup(name='fdroidserver',
       author='The F-Droid Project',
       author_email='team@f-droid.org',
       url='https://f-droid.org',
+      license='AGPL-3.0',
       packages=['fdroidserver', 'fdroidserver.asynchronousfilereader'],
       scripts=['fdroid', 'fd-commit', 'makebuildserver'],
       data_files=[
@@ -29,6 +30,7 @@ setup(name='fdroidserver',
                'examples/public-read-only-s3-bucket-policy.json',
                'examples/template.yml']),
       ],
+      python_requires='>=3.4',
       install_requires=[
           'clint',
           'GitPython',