Skip to content

Commit 8227803

Browse files
authored
Add files via upload
V3.3
1 parent 5e471f9 commit 8227803

1 file changed

Lines changed: 71 additions & 0 deletions

File tree

readme.txt

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
#################################
2+
# dxf2gcode Install Script V3.3 #
3+
# for Debian based OS #
4+
# by Daniel Luginbuehl #
5+
# (c) 2024 #
6+
#################################
7+
8+
Just start in the console with:
9+
./linux.installer.sh
10+
or double-click and select "run in terminal". Do not start with sudo in front!
11+
In Debian, first type "su - root" and run the script there.
12+
Then follow the instructions. The script will install all necessary packages and dxf2gcode automatically.
13+
14+
Python 3.7 or higher is required. This is checked by the script.
15+
pip must be installed. Install with: sudo apt-get install python3-pip
16+
The script is tested on Debian 10, 11 & 12 with GNOME & MATE, Linux Mint 20.3 mate, 21 Cinnamon, 21.1 MATE, 21.3 MATE, Xubuntu 22.04 (XFCE), Kubuntu 22.04 (KDE) and Lubuntu 20.04.4 (LXDE)
17+
18+
The installation is ONLY complete when the script "dxf2gcode was successfully installed." spends in red!
19+
20+
Unfortunately is the installation of Python3.7.3 or higher on Debian 9 (Wheezy) almost impossible.
21+
Many LinuxCNC computers have Debian Wheezy :(
22+
23+
24+
In some cases, the following error appears:
25+
26+
...
27+
running egg_info
28+
/home/daniel/.local/lib/python3.10/site-packages/setuptools/command/egg_info.py:131: SetuptoolsDeprecationWarning: Invalid version: '2022-05-05'.
29+
!!
30+
31+
********************************************************************************
32+
Version '2022-05-05' is not valid according to PEP 440.
33+
34+
Please make sure to specify a valid version for your package.
35+
Also note that future releases of setuptools may halt the build process
36+
if an invalid version is given.
37+
38+
By 2023-Sep-26, you need to update your project and remove deprecated calls
39+
or your builds will no longer be supported.
40+
41+
See https://peps.python.org/pep-0440/ for details.
42+
********************************************************************************
43+
44+
!!
45+
return _normalization.best_effort_version(tagged)
46+
...
47+
48+
Then you have to downgrade setup tools. Enter in the terminal:
49+
50+
pip install --upgrade --user setuptools==58.3.0
51+
if not work, then
52+
pip install setuptools==65 --break-system-packages
53+
54+
Then run the installer again.
55+
56+
57+
Because official dxf2gcode does not run properly under Python 3.10+, the script ask to install a developer version of dxf2gcode.
58+
If desired, the script can download this automatically.
59+
60+
61+
Developer versions on
62+
https://github.com/ltspicer/dxf2gcode
63+
or
64+
https://sourceforge.net/projects/dxf2gcode/files/Development/
65+
The script can download and install this automatically.
66+
67+
Support: https://www.ltspiceusers.ch/#dxf2gcode.68
68+
Download dxf2gcode: https://sourceforge.net/projects/dxf2gcode/files/latest/download
69+
70+
71+
Please test it and give me feedback ;)

0 commit comments

Comments
 (0)