pkg: fix gerbolyze script

this broke for no apparent reason. python packaging is terrible. so much
enterprise-grade code for what really should be a very simple job.
wip v3.0.5
jaseg 2022-06-13 15:23:04 +02:00
rodzic d61d642c39
commit 23945b4cc6
3 zmienionych plików z 7 dodań i 4 usunięć

Wyświetl plik

@ -6,3 +6,4 @@ include MANIFEST.in
include setup.py
recursive-include gerbolyze *.py
recursive-include bin *

5
bin/gerbolyze 100644
Wyświetl plik

@ -0,0 +1,5 @@
#!/usr/bin/env python3
if __name__ == '__main__':
import gerbolyze
gerbolyze.cli()

Wyświetl plik

@ -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 '