diff options
author | jaseg <git@jaseg.de> | 2022-06-13 15:23:04 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-06-13 22:19:48 +0200 |
commit | 23945b4cc602438a97c63ba61cd920ef27e131b6 (patch) | |
tree | f6a264f6961d8f8923d743dc9c741c79c1fe8e1e | |
parent | d61d642c390588fe63c9f0ad5b930b421f55b0e8 (diff) | |
download | gerbolyze-23945b4cc602438a97c63ba61cd920ef27e131b6.tar.gz gerbolyze-23945b4cc602438a97c63ba61cd920ef27e131b6.tar.bz2 gerbolyze-23945b4cc602438a97c63ba61cd920ef27e131b6.zip |
pkg: fix gerbolyze scriptv3.0.5
this broke for no apparent reason. python packaging is terrible. so much
enterprise-grade code for what really should be a very simple job.
-rw-r--r-- | MANIFEST.in | 1 | ||||
-rw-r--r-- | bin/gerbolyze | 5 | ||||
-rwxr-xr-x | setup.py | 5 |
3 files changed, 7 insertions, 4 deletions
diff --git a/MANIFEST.in b/MANIFEST.in index a95aa03..eb7ab00 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -6,3 +6,4 @@ include MANIFEST.in include setup.py recursive-include gerbolyze *.py +recursive-include bin * diff --git a/bin/gerbolyze b/bin/gerbolyze new file mode 100644 index 0000000..4e1442a --- /dev/null +++ b/bin/gerbolyze @@ -0,0 +1,5 @@ +#!/usr/bin/env python3 + +if __name__ == '__main__': + import gerbolyze + gerbolyze.cli() @@ -29,10 +29,7 @@ setup( name = 'gerbolyze', version = get_version(), packages=['gerbolyze'], - entry_points = ''' - [console_scripts] - gerbolyze=gerbolyze:cli - ''', + scripts=['bin/gerbolyze'], description = ('A high-resolution image-to-PCB converter. Gerbolyze plots SVG, PNG and JPG onto existing gerber ' 'files. It handles almost the full SVG spec and deals with text, path outlines, patterns, arbitrary paths with ' 'self-intersections and holes, etc. fully automatically. It can vectorize raster images both by contour ' |