From 4ddc3b53a70382d0343fdd7d6e372d25554a993c Mon Sep 17 00:00:00 2001 From: Dave Cowden Date: Tue, 23 Apr 2013 21:38:38 -0400 Subject: [PATCH] nicer setup instructions --- README.md | 17 +++++++++++++++-- setup.py | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cc89bc4..59ac458 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,22 @@ Using CadQuery, you can write short, simple scripts that produce high quality CA Installing ============ -1. install FreeCAD, version 0.12 or greater for your platform. http://sourceforge.net/projects/free-cad/ +1. install FreeCAD, version 0.12 or greater for your platform. http://sourceforge.net/projects/free-cad/. -2. install:: +2. adjust your path if necessary. FreeCAD bundles a python interpreter, but you'll probably want to use your own, + preferably one that has virtualenv available. To use FreeCAD from any python interpreter, just append the FreeCAD + lib directory to your path. On (*Nix):: + + import sys + sys.path.append('/usr/lib/freecad/lib') + + or on Windows:: + + import sys + sys.path.append('/c/apps/FreeCAD/bin') + + *NOTE* FreeCAD on Windows will not work with python 2.7-- you must use pthon 2.6.X!!!! +3. install cadquery:: pip install cadquery diff --git a/setup.py b/setup.py index aebd6bf..57bc194 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from distutils.core import setup setup( name='cadquery', - version='0.1.2', + version='0.1.3', url='https://github.com/dcowden/cadquery', license='LGPL', author='David Cowden',