forked from SchrodingersGat/KiBoM
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch for Debian package using distutils instead of setuptools.
The Debian image I use on GitHub doesn't have setuptools. Using distutils is the same for the Debian package.
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -1,6 +1,6 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
-import setuptools | ||
+from distutils.core import setup | ||
|
||
import os | ||
import sys | ||
@@ -12,7 +12,7 @@ | ||
long_description = "KiBoM is a configurable BOM (Bill of Materials) generation tool for KiCad EDA. Written in Python, it can be used directly with KiCad software without the need for any external libraries or plugins. KiBoM intelligently groups components based on multiple factors, and can generate BoM files in multiple output formats. For futher information see the KiBom project page" | ||
|
||
|
||
-setuptools.setup( | ||
+setup( | ||
name="kibom", | ||
|
||
version=KIBOM_VERSION, | ||
@@ -31,7 +31,7 @@ | ||
|
||
license="MIT", | ||
|
||
- packages=setuptools.find_packages(), | ||
+ packages=['kibom'], | ||
|
||
scripts=['KiBOM_CLI.py'], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
# You must remove unused comment lines for the released package. | ||
001-setup_distutils.patch |