aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py30
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",
+ ]
+ }
+)