From: Paul B. <mis...@gm...> - 2012-01-26 15:10:58
|
I'm assuming the build system will have Python installed, and so a Makefile should still not be needed, even for something like portage. You should be able to just run "python setup.py install" within the .ebuild and that's it. Or for Debian/Ubuntu "python setup.py bdist_deb" or some such to build a .deb file, or "... bdist_exe" for Windows, etc... Really, setup.py *is* Python's Makefile. On Thu, Jan 26, 2012 at 8:57 AM, EBo <eb...@sa...> wrote: > Well, the Makefile can be useful for automated testing and installation > via system tool like gentoo's portage. But as you said it is not > necessary, jut sometimes convenient. > > On Thu, 26 Jan 2012 08:41:11 -0600, Paul Bonser wrote: >> It looks like the Makefile is mostly just used to build archives and >> installers. >> >> We don't really need a Makefile for this. Something like Bento or >> just >> a modification of setup.py to add installer building should be enough >> for what's currently being done. >> >> On Thu, Jan 26, 2012 at 8:26 AM, Valerio Bellizzomi >> <de...@se...> wrote: >>> On Thu, 2012-01-26 at 13:12 +0200, Anders Wallin wrote: >>>> Hi all, >>>> >>>> I tried this: >>>> >>>> $ git clone git://pycam.git.sourceforge.net/gitroot/pycam/pycam >>>> $ cd pycam >>>> $ make >>>> sed: can't read src/pycam/__init__.py: No such file or directory >>>> sed: can't read src/pycam/__init__.py: No such file or directory >>>> sed: can't read src/pycam/__init__.py: No such file or directory >>>> sed: can't read src/pycam/__init__.py: No such file or directory >>>> sed: can't read src/pycam/__init__.py: No such file or directory >>>> /bin/sh: svk: not found >>>> make: *** [svn_export] Error 127 >>>> >>> >>> Hello, I do not use the makefile. >>> Here is what I do the first time for installation: >>> >>> $ git clone git://pycam.git.sourceforge.net/gitroot/pycam/pycam >>> $ cd pycam/scripts >>> $ ./pycam >>> >>> and here for updates: >>> >>> $ cd pycam >>> $ git pull git://pycam.git.sourceforge.net/gitroot/pycam/pycam >>> master >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Keep Your Developer Skills Current with LearnDevNow! >>> The most comprehensive online learning library for Microsoft >>> developers >>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, >>> MVC3, >>> Metro Style Apps, more. Free future releases when you subscribe now! >>> http://p.sf.net/sfu/learndevnow-d2d >>> _______________________________________________ >>> PyCAM-devel mailing list >>> PyC...@li... >>> https://lists.sourceforge.net/lists/listinfo/pycam-devel > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > PyCAM-devel mailing list > PyC...@li... > https://lists.sourceforge.net/lists/listinfo/pycam-devel -- Paul Bonser | http://probablyprogramming.com | @pib |