diff options
-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 ' |