|
1 | | -from setuptools import find_packages, setup |
| 1 | +from setuptools import setup |
2 | 2 |
|
3 | | -with open("README.md", "r") as f: |
4 | | - long_description = f.read() |
5 | | - |
6 | | -setup( |
7 | | - name="pyls-black", |
8 | | - version="0.4.4", |
9 | | - description="Black plugin for the Python Language Server", |
10 | | - long_description=long_description, |
11 | | - long_description_content_type="text/markdown", |
12 | | - url="https://github.com/rupert/pyls-black", |
13 | | - author="Rupert Bedford", |
14 | | - author_email="rupert@rupertb.com", |
15 | | - packages=find_packages(exclude=["tests"]), |
16 | | - install_requires=["python-language-server", "black>=19.3b0", "toml"], |
17 | | - extras_require={"dev": ["isort", "flake8", "pytest", "mypy", "pytest"]}, |
18 | | - entry_points={"pyls": ["pyls_black = pyls_black.plugin"]}, |
19 | | - classifiers=( |
20 | | - "Programming Language :: Python :: 3", |
21 | | - "Programming Language :: Python :: 3.6", |
22 | | - "Programming Language :: Python :: 3.7", |
23 | | - "License :: OSI Approved :: MIT License", |
24 | | - "Operating System :: OS Independent", |
25 | | - ), |
26 | | -) |
| 3 | +if __name__ == "__main__": |
| 4 | + setup() |
0 commit comments