-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
35 lines (30 loc) · 962 Bytes
/
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
import re
from setuptools import setup
with open("mypy2junit.py", "rt", encoding="utf8") as f:
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
with open("README.md", "rt", encoding="utf8") as f:
readme = f.read()
setup(
name="mypy2junit",
version=version,
url="https://github.com/Dundee/mypy2junit",
license="BSD-3-Clause",
author="Daniel Milde",
author_email="daniel@milde.cz",
description="Script for converting output from MyPy to Junit XML format",
long_description=readme,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
#packages=find_packages("mypy2junit"),
py_modules=["mypy2junit"],
python_requires=">=3.5",
entry_points={"console_scripts": ["mypy2junit = mypy2junit:main"]},
extras_require={
"dev": [
"pytest",
],
},
)