|
9 | 9 | requires = ["Django", "django-import-export", "django-author", "html2text"] |
10 | 10 |
|
11 | 11 | try: |
12 | | - version = subprocess.check_output( |
13 | | - ["git", "describe", "--abbrev=0", "--tags"] |
14 | | - ).decode("utf-8").strip() |
| 12 | + version = ( |
| 13 | + subprocess.check_output(["git", "describe", "--abbrev=0", "--tags"]) |
| 14 | + .decode("utf-8") |
| 15 | + .strip() |
| 16 | + ) |
15 | 17 | except subprocess.CalledProcessError: |
16 | 18 | version = "0.dev" + datetime.datetime.now().strftime("%Y%m%d%H%M%S") |
17 | 19 |
|
|
23 | 25 | url="https://github.com/auto-mat/django-import-export-celery", |
24 | 26 | download_url="http://pypi.python.org/pypi/django-import-export-celery/", |
25 | 27 | description="Process long running django imports and exports in celery", |
26 | | - long_description=codecs.open(os.path.join(here, "README.rst"), "r", "utf-8").read(), |
| 28 | + long_description=codecs.open( |
| 29 | + os.path.join(here, "README.rst"), "r", "utf-8" |
| 30 | + ).read(), |
27 | 31 | long_description_content_type="text/x-rst", |
28 | | - license="License :: OSI Approved :: GNU Lesser General Public License v3.0 or later (LGPLv3.0+)", |
| 32 | + license=( |
| 33 | + "License :: OSI Approved :: GNU Lesser General Public License v3.0 or" |
| 34 | + " later (LGPLv3.0+)" |
| 35 | + ), |
29 | 36 | install_requires=requires, |
30 | 37 | packages=find_packages(), |
31 | 38 | include_package_data=True, |
|
0 commit comments