-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
56 lines (48 loc) · 1.49 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import os
from setuptools import find_packages, setup
basedir = os.path.dirname(__file__)
def readme():
with open(os.path.join(basedir, 'README.rst')) as f:
return f.read()
about = {}
with open(os.path.join(basedir, 'src', 'flake8_aaa', '__about__.py')) as f:
exec(f.read(), about) # yapf: disable
setup(
# --- META ---
name=about['__iam__'],
version=about['__version__'],
description=about['__description__'],
license='MIT',
long_description=readme(),
author='James Cooke',
author_email='[email protected]',
url='https://github.com/jamescooke/flake8-aaa',
# --- Python ---
packages=find_packages('src'),
package_dir={'': 'src'},
python_requires='>=3.8',
install_requires=[
'asttokens >= 2',
'flake8 >= 3',
],
entry_points={
'flake8.extension': [
'AAA = flake8_aaa:Checker',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Flake8',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python',
],
zip_safe=False,
)