Some checks are pending
Create Examples / build (ubuntu-22.04, 3.7) (push) Waiting to run
Create Examples / build (ubuntu-22.04, 3.8) (push) Waiting to run
Create Examples / build (ubuntu-latest, 3.10) (push) Waiting to run
Create Examples / build (ubuntu-latest, 3.11) (push) Waiting to run
Create Examples / build (ubuntu-latest, 3.12) (push) Waiting to run
Create Examples / build (ubuntu-latest, 3.9) (push) Waiting to run
Major refactor from upstream PR #455 adding jumper wires as a first-class component type. Includes renamed modules (DataClasses→wv_dataclasses, Harness→wv_harness), new color system, and updated BOM generation. Preserved Jinja2 preprocessor (PR #382) in wv_cli.py alongside jumper changes.
52 lines
1.5 KiB
Python
52 lines
1.5 KiB
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from pathlib import Path
|
|
|
|
from setuptools import find_packages, setup
|
|
|
|
from src.wireviz import APP_URL, CMD_NAME, __version__
|
|
|
|
README_PATH = Path(__file__).parent / "docs" / "README.md"
|
|
|
|
setup(
|
|
name=CMD_NAME,
|
|
version=__version__,
|
|
author="Daniel Rojas",
|
|
# author_email='',
|
|
description="Easily document cables and wiring harnesses",
|
|
long_description=README_PATH.read_text(),
|
|
long_description_content_type="text/markdown",
|
|
install_requires=[
|
|
"click",
|
|
"graphviz",
|
|
"jinja2",
|
|
"pillow",
|
|
"pyyaml",
|
|
"tabulate",
|
|
],
|
|
license="GPLv3",
|
|
keywords="cable connector hardware harness wiring wiring-diagram wiring-harness",
|
|
url=APP_URL,
|
|
package_dir={"": "src"},
|
|
package_data={CMD_NAME: ["templates/*.html"]},
|
|
packages=find_packages("src"),
|
|
entry_points={
|
|
"console_scripts": [
|
|
"wireviz=wireviz.wv_cli:wireviz",
|
|
],
|
|
},
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Environment :: Console",
|
|
"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",
|
|
"Topic :: Utilities",
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
],
|
|
)
|