-
-
Notifications
You must be signed in to change notification settings - Fork 91
/
setup.py
52 lines (49 loc) · 1.38 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
# -*- coding: utf-8 -*-
import setuptools
import versioneer
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="PcbDraw",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
python_requires=">=3.7",
author="Jan Mrázek",
author_email="[email protected]",
description="Utility to produce nice looking drawings of KiCAD boards",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yaqwsx/PcbDraw",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"numpy",
"lxml",
"mistune>=2.0.2",
"pybars3",
"pyyaml",
"svgpathtools==1.4.1",
"pcbnewTransition>=0.4",
"LnkParse3; platform_system=='Windows'",
"pyVirtualDisplay~=3.0; platform_system!='Windows'",
"Pillow~=9.0",
"click>=7.1"
],
setup_requires=[
"versioneer"
],
extras_require={
"dev": ["pytest", "types-pillow", "types-click", "types-PyYAML"],
},
zip_safe=False,
include_package_data=True,
entry_points = {
"console_scripts": [
"pcbdraw=pcbdraw.ui:run"
],
}
)