|
1 |
| -#!/usr/bin/env python |
| 1 | +from setuptools import setup |
2 | 2 |
|
3 |
| -"""The setup script.""" |
4 |
| -from pathlib import Path |
5 |
| - |
6 |
| -from setuptools import find_packages, setup |
7 |
| - |
8 |
| -readme = Path("README.md").read_text(encoding="utf8") |
9 |
| - |
10 |
| -requirements = ["toml", "importlib_metadata; python_version < '3.8'"] |
11 |
| - |
12 |
| -setup_requirements = [] |
13 |
| - |
14 |
| -test_requirements = [] |
15 |
| - |
16 |
| -extra_requirements = { |
17 |
| - "toolchain": ["black", "mypy", "isort", "pyupgrade", "flake8", "pylint"] |
18 |
| -} |
19 |
| - |
20 |
| -setup( |
21 |
| - author="Marco Gorelli, Girish Pasupathy", |
22 |
| - python_requires=">=3.6", |
23 |
| - classifiers=[ |
24 |
| - "Development Status :: 4 - Beta", |
25 |
| - "Intended Audience :: Developers", |
26 |
| - "License :: OSI Approved :: MIT License", |
27 |
| - "Natural Language :: English", |
28 |
| - "Programming Language :: Python :: 3", |
29 |
| - "Programming Language :: Python :: 3.6", |
30 |
| - "Programming Language :: Python :: 3.7", |
31 |
| - "Programming Language :: Python :: 3.8", |
32 |
| - "Programming Language :: Python :: 3.9", |
33 |
| - ], |
34 |
| - description="Run any Python code quality tool on a Jupyter Notebook!", |
35 |
| - entry_points={"console_scripts": ["nbqa=nbqa.__main__:main"]}, |
36 |
| - install_requires=requirements, |
37 |
| - license="MIT license", |
38 |
| - long_description=readme, |
39 |
| - long_description_content_type="text/markdown", |
40 |
| - include_package_data=True, |
41 |
| - keywords="nbqa", |
42 |
| - name="nbqa", |
43 |
| - packages=find_packages(include=["nbqa", "nbqa.*"]), |
44 |
| - setup_requires=setup_requirements, |
45 |
| - test_suite="tests", |
46 |
| - tests_require=test_requirements, |
47 |
| - extras_require=extra_requirements, |
48 |
| - url="https://github.com/nbQA-dev/nbQA", |
49 |
| - version="0.3.6", |
50 |
| - zip_safe=False, |
51 |
| -) |
| 3 | +setup() |
0 commit comments