From e42126e43b9830a3f942740d16a77f788c6f5e2e Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Tue, 10 Mar 2020 09:44:20 -0300 Subject: [PATCH] Added distribution setup.py, currently used only to generate the debian package, but should be usable for normal Python distribution. --- MANIFEST.in | 2 ++ setup.py | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 MANIFEST.in create mode 100644 setup.py diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..e143e9b --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +include MANIFEST.in +include LICENSE diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..865d350 --- /dev/null +++ b/setup.py @@ -0,0 +1,25 @@ +#!/usr/bin/python3 +from distutils.core import setup + +setup(name='kicad-automation-scripts', + version='1.0.0', + description='KiCad Automation Scripts', + long_description='Uses eeschema and pcbnew to automate some tasks.', + author='Scott Bezek, Salvador E. Tropea', + author_email='stropea@inti.gob.ar', + url='https://github.com/INTI-CMNB/kicad-automation-scripts/', + packages=['kicad_auto'], + package_dir={'kicad_auto': 'kicad_auto'}, + scripts=['src/eeschema_do','src/pcbnew_print_layers','src/pcbnew_run_drc'], + classifiers = ['Development Status :: 3 - Alpha', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: Apache License 2.0', + 'Natural Language :: English', + 'Operating System :: POSIX :: Linux', + 'Programming Language :: Python :: 3', + 'Topic :: Utilities', + ], + platforms = 'POSIX', + license = 'Apache License 2.0' +)