Building from source #59
samizdatco
announced in
Announcements
Replies: 2 comments
-
|
Thanks for the guide! I'm updating old Nodebox and Plotdevice projects with the latest! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I've noticed the app built in this process have its own copy of python inside the application. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If you're interested in using the bleeding edge code from the repository, there are a couple of ways to build it yourself.
Module builds
Your best bet is to create a virtual environment and install the module into it. Something like this will work:
You can then either use the command line tool like this:
./env/bin/plotdevice plotdevice/examples/Drawing/Logo.pvor use the virtual environment's
python3and import it yourself:Application builds
If you want the full application, and you have Xcode installed, the easiest approach is to cd into the repository and type:
python3 setup.py appYou can also use
py2appbut it requires you to install a local copy of PyObjC first (which thedevsetup command will add to thedeps/localfolder for you):Once the
apporpy2appbuild completes, you'll find the application in thedistdirectory:open -R dist/PlotDevice.appBeta Was this translation helpful? Give feedback.
All reactions