Commit 15ba1950 authored by sumpfralle's avatar sumpfralle

r1055@erker: lars | 2010-06-30 09:55:56 +0200

 adjust setup.py to the new location of the source files
 added some missing modules


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@426 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent de24624e
...@@ -24,9 +24,12 @@ along with PyCAM. If not, see <http://www.gnu.org/licenses/>. ...@@ -24,9 +24,12 @@ along with PyCAM. If not, see <http://www.gnu.org/licenses/>.
from distutils.core import setup from distutils.core import setup
import distutils.sysconfig import distutils.sysconfig
from pycam import VERSION
import glob import glob
import os.path import os.path
import sys
# add the local pycam source directory to the PYTHONPATH
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))
from pycam import VERSION
setup( setup(
name="pycam", name="pycam",
...@@ -38,7 +41,7 @@ setup( ...@@ -38,7 +41,7 @@ setup(
provides=["pycam"], provides=["pycam"],
requires=["ode", "gtk", "gtk.gtkgl", "OpenGL"], requires=["ode", "gtk", "gtk.gtkgl", "OpenGL"],
url="http://sourceforge.net/projects/pycam", url="http://sourceforge.net/projects/pycam",
download_url="http://sourceforge.net/projects/pycam/files/pycam/0.2.2/pycam-0.2.2.tgz/download", download_url="http://sourceforge.net/projects/pycam/files",
keywords=["3-axis", "cnc", "cam", "toolpath", "machining", "g-code"], keywords=["3-axis", "cnc", "cam", "toolpath", "machining", "g-code"],
long_description="""IMPORTANT NOTE: Please read the list of requirements: long_description="""IMPORTANT NOTE: Please read the list of requirements:
http://sourceforge.net/apps/mediawiki/pycam/index.php?title=Requirements http://sourceforge.net/apps/mediawiki/pycam/index.php?title=Requirements
...@@ -60,15 +63,17 @@ Basically you will need Python, GTK and OpenGL. ...@@ -60,15 +63,17 @@ Basically you will need Python, GTK and OpenGL.
], ],
packages=[ packages=[
"pycam", "pycam",
"pycam.Cutters", "pycam.Cutters",
"pycam.Geometry", "pycam.Geometry",
"pycam.Importers", "pycam.Importers",
"pycam.PathProcessors", "pycam.PathProcessors",
"pycam.Utils", "pycam.Utils",
"pycam.Exporters", "pycam.Exporters",
"pycam.Gui", "pycam.Gui",
"pycam.PathGenerators", "pycam.PathGenerators",
"pycam.Simulation" "pycam.Simulation",
"pycam.Toolpath",
"pycam.Physics",
], ],
scripts = ['pycamGUI', 'pycam_win32_postinstall.py'], scripts = ['pycamGUI', 'pycam_win32_postinstall.py'],
data_files=[("share/doc/python-pycam",[ data_files=[("share/doc/python-pycam",[
...@@ -80,9 +85,9 @@ Basically you will need Python, GTK and OpenGL. ...@@ -80,9 +85,9 @@ Basically you will need Python, GTK and OpenGL.
"Changelog", "Changelog",
"release_info.txt"]), "release_info.txt"]),
("share/python-pycam/ui", [ ("share/python-pycam/ui", [
os.path.join("pycam", "Gui", "gtk-interface", "pycam-project.ui"), os.path.join("src", "pycam", "Gui", "gtk-interface", "pycam-project.ui"),
os.path.join("pycam", "Gui", "gtk-interface", "menubar.xml"), os.path.join("src", "pycam", "Gui", "gtk-interface", "menubar.xml"),
os.path.join("pycam", "Gui", "gtk-interface", "logo_gui.png"), os.path.join("src", "pycam", "Gui", "gtk-interface", "logo_gui.png"),
]), ]),
("share/python-pycam/samples", ("share/python-pycam/samples",
glob.glob(os.path.join("Samples","STL","*.stl"))), glob.glob(os.path.join("Samples","STL","*.stl"))),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment