-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
40 lines (33 loc) · 1.05 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import os
import setuptools
def _read(path):
with open(os.path.join(os.path.dirname(__file__), path)) as f:
return f.read()
# Get `__version__`
exec(_read("src/flake8_force/_version.py"))
setuptools.setup(
name="flake8-force",
license="MIT",
version=__version__, # NOQA
description="flake8 extension to force running check",
long_description=_read("README.md"),
long_description_content_type="text/markdown",
author="Kenichi Maehashi",
url="https://github.com/kmaehashi/flake8-force",
package_dir={"": "src/"},
packages=["flake8_force"],
entry_points={
"flake8.extension": [
"FRC000 = flake8_force:Flake8Force",
],
},
install_requires=['flake8'],
classifiers=[
"Framework :: Flake8",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Quality Assurance",
],
)