-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
52 lines (51 loc) · 1.78 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
from setuptools import find_packages, setup
setup(
name="genmypy",
version="0.3.2",
packages=find_packages(exclude=["tests"]),
description="A Python stub generator from genmsg specs",
long_description=open("README.rst").read(),
author="Yuki Igarashi, Tamamki Nishino",
author_email="[email protected], [email protected]",
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python",
],
license="Apache License 2.0",
url="https://github.com/rospypi/genmypy",
install_requires=[
"genmsg",
"genpy",
],
extras_require={
"dev": [
# NOTE: pytest>=5.0 doesn't support py2
"pytest>=4.6,<5.0",
"typing; python_version=='2.7'",
],
# NOTE: We don't support python2 for the lint environment
"lint": [
"black==20.8b1",
# NOTE: We need to support py27 and newer black does not support py27.
# Limit the click version to use older black.
# See: https://github.com/psf/black/issues/2964 for more details.
"click<8.1.0",
"flake8-bugbear==21.4.3",
"flake8==3.9.1",
"isort==5.1.4",
"mypy==0.790",
"pysen>=0.10,<0.11",
],
},
package_data={"genmypy": ["py.typed"]},
scripts=["scripts/genmypy"],
)