mirror of
https://github.com/sinseman44/PyCNC.git
synced 2026-01-11 02:30:05 +00:00
published to PyPi
This commit is contained in:
2
MANIFEST.in
Normal file
2
MANIFEST.in
Normal file
@@ -0,0 +1,2 @@
|
||||
include README.md
|
||||
include LICENSE
|
||||
@@ -77,7 +77,12 @@ sudo ln -s /opt/pypy/bin/pypy /usr/local/bin/pypy
|
||||

|
||||
|
||||
# Dependencies
|
||||
Nothing. Just pure Python code.
|
||||
Nothing for runtime. Just pure Python code.
|
||||
For uploading to PyPi there is a need in `pandoc`:
|
||||
```bash
|
||||
sudo dnf install pandoc
|
||||
sudo pip install pypandoc
|
||||
```
|
||||
|
||||
# GCode simulation
|
||||
Just a link, mostly for myself :), to a nice web software for gcode files
|
||||
|
||||
4
setup.cfg
Normal file
4
setup.cfg
Normal file
@@ -0,0 +1,4 @@
|
||||
[metadata]
|
||||
description-file = README.md
|
||||
license_file = LICENSE
|
||||
|
||||
11
setup.py
11
setup.py
@@ -1,9 +1,15 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
try:
|
||||
import pypandoc
|
||||
long_description = pypandoc.convert('README.md', 'rst')
|
||||
except(IOError, ImportError):
|
||||
long_description = open('README.md').read()
|
||||
|
||||
from setuptools import setup, find_packages
|
||||
setup(
|
||||
name="pycnc",
|
||||
version="0.1",
|
||||
version="0.1.2",
|
||||
packages=find_packages(),
|
||||
scripts=['pycnc'],
|
||||
|
||||
@@ -11,7 +17,8 @@ setup(
|
||||
author="Nikolay Khabarov",
|
||||
author_email="2xl@mail.ru",
|
||||
description="CNC machine controller",
|
||||
long_description=long_description,
|
||||
license="MIT",
|
||||
keywords="CNC 3D printer robot raspberry pi",
|
||||
url="https://github.com/Nikolay-Kha/PyCNC",
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user