Browse Source

Format setup.py with black

rafalp 5 years ago
parent
commit
38439711db
1 changed files with 20 additions and 20 deletions
  1. 20 20
      setup.py

+ 20 - 20
setup.py

@@ -1,4 +1,4 @@
-#-*- coding: utf-8 -*-
+# -*- coding: utf-8 -*-
 import os
 
 from setuptools import setup, find_packages
@@ -8,10 +8,10 @@ from misago import __version__ as version
 
 SETUP_DIR = os.path.dirname(__file__)
 
-with open(os.path.join(SETUP_DIR, 'README.rst'), 'rb') as f:
-    README = f.read().decode('utf-8')
+with open(os.path.join(SETUP_DIR, "README.rst"), "rb") as f:
+    README = f.read().decode("utf-8")
 
-with open(os.path.join(SETUP_DIR, 'requirements.txt'), "r") as f:
+with open(os.path.join(SETUP_DIR, "requirements.txt"), "r") as f:
     REQUIREMENTS = f.read()
 
 
@@ -19,33 +19,33 @@ with open(os.path.join(SETUP_DIR, 'requirements.txt'), "r") as f:
 os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
 
 setup(
-    name='Misago',
+    name="Misago",
     version=version,
-    license='GPLv2',
+    license="GPLv2",
     description=(
         "Misago is modern, fully featured forum application written in "
         "Python and ES6, powered by Django and React.js. It works out of "
         "the box and plays nicely with other projects like Django-CMS."
     ),
     long_description=README,
-    url='http://www.misago-project.org/',
-    author=u'Rafał Pitoń',
-    author_email='kontakt@rpiton.com',
+    url="http://www.misago-project.org/",
+    author=u"Rafał Pitoń",
+    author_email="kontakt@rpiton.com",
     install_requires=REQUIREMENTS,
     packages=find_packages(),
     include_package_data=True,
     classifiers=[
-        'Development Status :: 4 - Beta',
-        'Environment :: Web Environment',
-        'Framework :: Django',
-        'Intended Audience :: Developers',
-        'Intended Audience :: System Administrators',
-        'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
-        'Operating System :: OS Independent',
-        'Programming Language :: Python',
-        'Programming Language :: Python :: 3.6',
-        'Topic :: Internet :: WWW/HTTP',
-        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
+        "Development Status :: 4 - Beta",
+        "Environment :: Web Environment",
+        "Framework :: Django",
+        "Intended Audience :: Developers",
+        "Intended Audience :: System Administrators",
+        "License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
+        "Operating System :: OS Independent",
+        "Programming Language :: Python",
+        "Programming Language :: Python :: 3.6",
+        "Topic :: Internet :: WWW/HTTP",
+        "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
         "Topic :: Internet :: WWW/HTTP :: WSGI",
         "Topic :: Software Development :: Libraries :: Application Frameworks",
         "Topic :: Software Development :: Libraries :: Python Modules",