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/>.
from distutils.core import setup
import distutils.sysconfig
from pycam import VERSION
import glob
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(
name="pycam",
......@@ -38,7 +41,7 @@ setup(
provides=["pycam"],
requires=["ode", "gtk", "gtk.gtkgl", "OpenGL"],
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"],
long_description="""IMPORTANT NOTE: Please read the list of requirements:
http://sourceforge.net/apps/mediawiki/pycam/index.php?title=Requirements
......@@ -68,7 +71,9 @@ Basically you will need Python, GTK and OpenGL.
"pycam.Exporters",
"pycam.Gui",
"pycam.PathGenerators",
"pycam.Simulation"
"pycam.Simulation",
"pycam.Toolpath",
"pycam.Physics",
],
scripts = ['pycamGUI', 'pycam_win32_postinstall.py'],
data_files=[("share/doc/python-pycam",[
......@@ -80,9 +85,9 @@ Basically you will need Python, GTK and OpenGL.
"Changelog",
"release_info.txt"]),
("share/python-pycam/ui", [
os.path.join("pycam", "Gui", "gtk-interface", "pycam-project.ui"),
os.path.join("pycam", "Gui", "gtk-interface", "menubar.xml"),
os.path.join("pycam", "Gui", "gtk-interface", "logo_gui.png"),
os.path.join("src", "pycam", "Gui", "gtk-interface", "pycam-project.ui"),
os.path.join("src", "pycam", "Gui", "gtk-interface", "menubar.xml"),
os.path.join("src", "pycam", "Gui", "gtk-interface", "logo_gui.png"),
]),
("share/python-pycam/samples",
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