diff options
author | jaseg <git@jaseg.de> | 2021-02-01 00:14:41 +0100 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2021-02-01 00:14:41 +0100 |
commit | 5f4f667e17823471f8bf81e5b6ef680ae0576378 (patch) | |
tree | 0263ba062ba0651a07ddc5de33d0b43298165b8c /setup.py | |
parent | 6c01126ce9c093095724a2c01271bfcce78373f3 (diff) | |
download | gerbolyze-5f4f667e17823471f8bf81e5b6ef680ae0576378.tar.gz gerbolyze-5f4f667e17823471f8bf81e5b6ef680ae0576378.tar.bz2 gerbolyze-5f4f667e17823471f8bf81e5b6ef680ae0576378.zip |
Work on packaging
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 22 |
1 files changed, 14 insertions, 8 deletions
@@ -8,18 +8,24 @@ def readme(): setup( name = 'gerbolyze', - version = '0.1.10', + version = '2.0.0', py_modules = ['gerbolyze'], - scripts = ['gerbolyze'], - description = ('A high-resolution image-to-PCB converter. Gerbolyze reads and vectorizes black-and-white raster ' - 'images, then plots the vectorized image into an existing gerber file while avoiding existing features such as ' - 'text or holes.'), + package_dir = {'': 'gerbolyze'}, + entry_points = ''' + [console_scripts] + gerbolyze=gerbolyze:cli + ''', + 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 ' + 'tracing and by grayscale dithering. All processing is done at the vector level without intermediate ' + 'conversions to raster images accurately preserving the input.'), long_description=readme(), long_description_content_type='text/x-rst', - url = 'https://github.com/jaseg/gerbolyze', + url = 'https://git.jaseg.de/gerbolyze', author = 'jaseg', - author_email = 'github@jaseg.net', - install_requires = ['pcb-tools', 'tqdm', 'numpy', 'opencv-python', 'python-slugify', 'lxml'], + author_email = 'github@jaseg.de', + install_requires = ['pcb-tools', 'numpy', 'python-slugify', 'lxml', 'click', 'pcb-tools-extension'], license = 'AGPLv3', classifiers = [ 'Development Status :: 5 - Production/Stable', |