]>
git.madduck.net Git - etc/vim.git/blobdiff - setup.py
madduck's git repository
Every one of the projects in this repository is available at the canonical
URL git://git.madduck.net/madduck/pub/<projectpath> — see
each project's metadata for the exact URL.
All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@ git. madduck. net .
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
SSH access, as well as push access can be individually
arranged .
If you use my repositories frequently, consider adding the following
snippet to ~/.gitconfig and using the third clone URL listed for each
project:
[url "git://git.madduck.net/madduck/"]
insteadOf = madduck:
# Copyright (C) 2020 Łukasz Langa
# Copyright (C) 2020 Łukasz Langa
-from setuptools import setup, find_packages
-import sys
+import sys
+
+from setuptools import find_packages, setup
assert sys.version_info >= (3, 6, 2), "black requires Python 3.6.2+"
from pathlib import Path # noqa E402
assert sys.version_info >= (3, 6, 2), "black requires Python 3.6.2+"
from pathlib import Path # noqa E402
"black/__main__.py",
]
discovered = []
"black/__main__.py",
]
discovered = []
- # black-primer and blackd have no good reason to be compiled.
+ # There's no good reason for blackd to be compiled.
discovered.extend(find_python_files(src / "black"))
discovered.extend(find_python_files(src / "blib2to3"))
mypyc_targets = [
discovered.extend(find_python_files(src / "black"))
discovered.extend(find_python_files(src / "blib2to3"))
mypyc_targets = [
]
opt_level = os.getenv("MYPYC_OPT_LEVEL", "3")
]
opt_level = os.getenv("MYPYC_OPT_LEVEL", "3")
- ext_modules = mypycify(mypyc_targets, opt_level=opt_level, verbose=True)
+ debug_level = os.getenv("MYPYC_DEBUG_LEVEL", "3")
+ ext_modules = mypycify(
+ mypyc_targets, opt_level=opt_level, debug_level=debug_level, verbose=True
+ )
package_data={
"blib2to3": ["*.txt"],
"black": ["py.typed"],
package_data={
"blib2to3": ["*.txt"],
"black": ["py.typed"],
- "black_primer": ["primer.json"],
},
python_requires=">=3.6.2",
zip_safe=False,
install_requires=[
"click>=8.0.0",
"platformdirs>=2",
},
python_requires=">=3.6.2",
zip_safe=False,
install_requires=[
"click>=8.0.0",
"platformdirs>=2",
+ "tomli>=1.1.0; python_full_version < '3.11.0a7' ",
"typed-ast>=1.4.2; python_version < '3.8' and implementation_name == 'cpython'",
"pathspec>=0.9.0",
"dataclasses>=0.6; python_version < '3.7'",
"typed-ast>=1.4.2; python_version < '3.8' and implementation_name == 'cpython'",
"pathspec>=0.9.0",
"dataclasses>=0.6; python_version < '3.7'",
"uvloop": ["uvloop>=0.15.2"],
"jupyter": ["ipython>=7.8.0", "tokenize-rt>=3.2.0"],
},
"uvloop": ["uvloop>=0.15.2"],
"jupyter": ["ipython>=7.8.0", "tokenize-rt>=3.2.0"],
},
- test_suite="tests.test_black",
- "Development Status :: 4 - Beta ",
+ "Development Status :: 5 - Production/Stable ",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
"console_scripts": [
"black=black:patched_main",
"blackd=blackd:patched_main [d]",
"console_scripts": [
"black=black:patched_main",
"blackd=blackd:patched_main [d]",
- "black-primer=black_primer.cli:main",