-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
executable file
·35 lines (33 loc) · 1.21 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env python
import os
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="[email protected]",
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=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
"Topic :: Utilities",
],
python_requires='>=3.6',
install_requires=["numpy", "tqdm", "argparse"] + ["opencv-python"] if os.getenv("SETUP_IGNORE_OPENCV", "0")=="0" else [],
entry_points={
"console_scripts": [
"rastercarve=rastercarve.__main__:main",
]
}
)