forked from uPesy/easyeda2kicad.py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (45 loc) · 1.68 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
from setuptools import find_packages, setup
with open("README.md") as fh:
long_description = fh.read()
production_dependencies = ["pydantic>=2.0.0", "requests>2.0.0"]
development_dependencies = [
"pre-commit>=2.17.0",
]
with open("requirements.txt", "w", encoding="utf-8") as f:
f.write("\n".join(production_dependencies + development_dependencies))
setup(
name="easyeda2kicad",
description=(
"A Python script that convert any electronic components from LCSC or EasyEDA to"
" a Kicad library"
),
long_description=long_description,
long_description_content_type="text/markdown",
version="0.8.0",
author="uPesy",
author_email="[email protected]",
url="https://github.com/uPesy/easyeda2kicad.py",
project_urls={
"Code": "https://github.com/uPesy/easyeda2kicad.py",
},
# download_url='',
license="AGPL-3.0",
py_modules=["easyeda2kicad"],
platforms="any",
packages=find_packages(exclude=["tests", "utils"]),
package_dir={"easyeda2kicad": "easyeda2kicad"},
entry_points={"console_scripts": ["easyeda2kicad = easyeda2kicad.__main__:main"]},
python_requires=">=3.6",
install_requires=production_dependencies,
extras_require={"dev": development_dependencies},
zip_safe=False,
keywords="easyeda kicad library conversion",
classifiers=[
# More information at https://pypi.org/classifiers/.
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
],
)