diff options
| author | Franklin Wei <franklin@rockbox.org> | 2019-12-25 22:14:11 -0500 |
|---|---|---|
| committer | Franklin Wei <franklin@rockbox.org> | 2019-12-25 22:14:11 -0500 |
| commit | ee860b8ad99670b2c6ac4a059b8dad12fd61b1d2 (patch) | |
| tree | 36a726536401bdea706efe4759363301ffd9fb34 /setup.py | |
| parent | 5cc5807b25d0c5d0819a2b16500fa54f10f160a4 (diff) | |
| download | rastercarve-ee860b8ad99670b2c6ac4a059b8dad12fd61b1d2.zip rastercarve-ee860b8ad99670b2c6ac4a059b8dad12fd61b1d2.tar.gz rastercarve-ee860b8ad99670b2c6ac4a059b8dad12fd61b1d2.tar.bz2 rastercarve-ee860b8ad99670b2c6ac4a059b8dad12fd61b1d2.tar.xz | |
Package for PyPI.
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..3169fb6 --- /dev/null +++ b/setup.py @@ -0,0 +1,30 @@ +#!/usr/bin/env python +import setuptools +from rastercarve import __version__ + +with open("README.md", "r") as fh: + long_description = fh.read() + +setuptools.setup( + name="rastercarve", # Replace with your own username + version=__version__, + author="Franklin Wei", + author_email="franklin@rockbox.org", + description="Generate G-code to engrave raster images.", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/built1n/rastercarve", + packages=setuptools.find_packages(), + classifiers=[ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", + "Operating System :: OS Independent", + ], + python_requires='>=3.6', + install_requires=["opencv-python", "numpy", "tqdm", "argparse"], + entry_points={ + "console_scripts": [ + "rastercarve=rastercarve.__main__:main", + ] + } +) |