dimanche 9 juin 2013
Python4MAMP 3.1 (SPMPT) New Release
I release soon Python4MAMP 3.1
- Python 2.7.3
- Mod_WSGI 3.4
- MySQLdb-python 1.2.3
- Django 1.4.3
- Python Image Library 1.1.7
- Subversion 1.7.8
- Trac 0.12.5 (support many SVN repos)
- VECT improved
This new release works with Lion and Mountain Lion, not tested on Snow Leopard.
Python is still 2.7.x cause many libraries are using Python 2.7 (not yet Python 3.3).
But users, let me know if Python should be better for you.
Best regards
Cédric
http://www.spmpt.org/
P.S.: if you have any suggestion let me know in comment !
mercredi 15 août 2012
Python4MAMP working with MAMP and MAMP Pro 2.1.x
I'm proud to tell you Python4MAMP is working with MAMP & MAMP Pro 2.1.x
http://www.spmpt.org/
Best regards
Cédric
mardi 1 mai 2012
Python4MAMP 3.0 (SPMPT) Release
after a long wait, I release Python4MAMP 3.0
- Python 2.7.2
- Mod_WSGI 3.3
- MySQLdb-python 1.2.3
- Django 1.3
- Python Image Library 1.1.7
- Subversion 1.6.16
- Trac 0.12.2 (support many SVN repos)
Many people are not interested by SVN, so I rename SPMPT to Python4MAMP, it's more easy to understand.
Hope this new release will help you to develop nice Python Web App.
Best regards
Cédric
http://www.spmpt.org/
P.S.: if you have any suggestion let me know in comment !
jeudi 26 mai 2011
Django on Mac with SPMPT and VECT 2.1.4
Good news for Python developpers, just release SPMPT 2.1.4.
I fixe some things in configuration files. But I add 3 new features to VECT:
- Update Trac repositories
- Update SVN repositories
- Create Django Project answring some questions, so easy !
Hope you will enjoy this new release.
Best regards
Cédric
jeudi 21 avril 2011
Django 1.3 on Mac with MAMP (avaible in the futur SPMPT 2.2)
Django 1.3 was released, so I will include it in the futur SPMPT 2.2.
For now, you can upgrade to Django 1.3 by following this instructions :
rm -rf /Applications/MAMP/python/framework/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/
curl -o Django-1.3.tar.gz http://media.djangoproject.com/releases/1.3/Django-1.3.tar.gz
tar xzf Django-1.3.tar.gz
cd Django-1.3
/Applications/MAMP/python/bin/python setup.py install
So you get Django 1.3 on your Mac, with MAMP and SPMPT.
Cédric
mardi 22 février 2011
SPMPT 2.1 is out ! Spotlight on Python for MAMP
I'm proud to announce that SPMPT 2.1 is now out.
This new release provide many new features. I think the Python programmers will enjoy this new release. It's now easy for any Python programmers to setup environment on Mac with MAMP and SPMPT.
This new version is shipped with MySQLdb-py which permit to Python programmers to connect to MySQL DBMS and use the Django framework on Mac.
The second major new feature is mod_wsgi. Mod_wsgi will replace mod_python, for now, SPMPT 2.1 is shipped with both mod_python and mod_wsgi. So you can change to mod_wsgi freely, with no contraints.
As usual, all components has been updated :
- python 2.6.4 -> 2.6.6
- trac 0.11.6 -> 0.12.2
- subversion 1.6.9 -> 1.6.12
- mod_python 3.3.1 (deprecated)
- mod_wsgi 3.3 (NEW)
- MySQLdb-py 1.2.3 (NEW)
- Django 1.2.5 (NEW)
What's next ?
- PostgreSQL 9 is working on beta release in my labs, So if you are interested, let me know.
- Python 2.7 and Python 3.2 so which are you waiting ?
- Subversion should be updated to the latest available
Tell me what you are waiting for, what are your wishes ?
SPMPT 2.1
mardi 1 février 2011
SPMPT 2.1RC2 : MySQLdb on MAMP
I'm working on SPMPT 2.1 and the new RC2 include this new features :
- MySQLdb-python, will be include in SPMPT by default, many python developper wants it
RC2 :
- Bugfixe
- MySQL-python
- Trac from 0.12.2 (changes)
RC1 :
- Python 2.6.6 (changes)
- Trac from 0.12.1 (changes)
- mod_wsgi 3.3 (NEW) better performances
- mod_python still exists and you can use both mwsgi or mod_python
Note on Python 2.7.1 and 3.1.3 :
The most currently used python release is 2.6.x so most application are compatible with python 2.6.x, I think python 2.7.x we be include in futur release, but it's to soon to define a date.
But if you want it, let me know.
Cédric
lundi 22 novembre 2010
MySQLdb-python coming on SPMPT for MAMP
This post is for Python developpers. SPMPT will include by default MySQLdb-python in the next release.
But if you can't wait, send me an e-mail and I will give you the MySQLdb-python package for current SPMPT release.
What is MySQLdb ?
MySQLdb is an thread-compatible interface to the popular MySQL database server that provides the Python database API.
Some framework like Django needs MySQLdb to works properly with MySQL databases.
Hope you will enjoy it !
Cédric
samedi 20 novembre 2010
SPMPT for python programmers
today I will move lights on hidden feature provied by SPMPT. When I release the first version of SPMPT, my main intention was to make installation of Trac and Subversion easly for evry developpers. But with time and users feedback, I know now, Python programmers using Mac found in SPMPT a great and easy tool to install python on Mac. So this is a little "Hello world" tutorial for people who used SPMPT, and want to try python in MAMP.
Apache configuration
First you have to prepare the environment, you need to create a Directory in Apache.
create a new file, for example mypython.conf
<IfModule !mod_python.c>
LoadModule python_module modules/mod_python.so
</IfModule>
<Directory /Applications/MAMP/htdocs/python-hello>
AddHandler python-program .py
PythonHandler hello
PythonDebug On #for developpemnet enable debug
</Directory>
Your first program
You have to create the python-hello folder in /Applications/MAMP/htdocs/
now we will create the python script : /Applications/MAMP/htdocs/python-hello/hello.py
01. from mod_python import apache
02.
03. def handler(req):
04. req.content_type = "text/html"
05. req.send_http_header()
06. req.write('<html><body>')
07. req.write("Hello<br/>")
08. req.write("This is a loop for in python : <br/>")
09. a = ['cat', 'window', 'defenestrate']
10. for x in a:
11. req.write(x)
12. req.write('<;br/>')
13. req.write('</body></html>')
14. return apache.OK
For advanced programmers, Django is recommended.
I'm not a python programmer so, if you have some questions, ask google.
jeudi 2 septembre 2010
SPMPT 2.1RC1 : mod wsgi is comming
Python and Trac, two importants pieces of SPMPT are updated :
- Python from 2.6.4 to 2.6.6 (changes)
- Trac from 0.11.6 to 0.12 (changes)
- mod_wsgi 3.3 (NEW) better performances
- mod_python still exists and you can use both mwsgi or mpython
They are coming in SPMPT 2.1 very soon.
lundi 21 juin 2010
SPMPT and Trac 0.12
- multi repository per environnement
- Translation/localisation using babel
- some improvment (wiki, tickets).
Trac 0.12 will be available soon in SPMPT.
you can update trac right now :
/Applications/MAMP/python/framework/Python.framework/Versions/2.6/bin/easy_install --upgrade Trac==0.12 --prefix=/Applications/MAMP/Trac
/Applications/MAMP/Trac/trac-admin /Applications/MAMP/trac_demo upgrade
Cédric
lundi 8 février 2010
SPMPT 2.0 coming very soon ! (Trac 0.11.6, MAMP 1.8.x and Snow Leopard support)
I'm proud to anounce a new release 2.0 is coming very soon !
What's new in this new release ?
- add support of MAMP 1.8.4 (support of 1.7.2 is removed, but SPMPT 1.7.2 still available)
- update to Trac 0.11.6
- update Subversion to 1.6.9
- add support of Snow Leopard 10.6 (and Leopard 10.5, but not Tiger 10.4)
- update to Python 2.6.4
It's the easier wait to get a versioning environment, with a subversion server on your Mac.
I know many people are waiting this new release since 1 month, thank you for your patience.
People who buy SPMPT will see this new version in there own download folder.
Thank you for supporting SPMPT !
Regards
Cédric
dimanche 24 mai 2009
SPMPT 1.3 (svn 1.6.1 / python 2.6.1 / Trac 0.11.5) for MAMP 1.7.x
I'm proud to present you a new release of SPMPT, 1.3 (beta).
New : subversion 1.6.1 (1.5.4), python 2.6.1 (2.6), trac 0.11.5 (0.11.2)
How to testing :
Save your current MAMP folder download and install MAMP again in /Applications/MAMP/
Install this new package. If you have any problem please report them in comments and restore your original MAMP folder previously saved.
Hope this release doesn't contains bugs :) !
Thanks for testing !
Regards
Cédric
spmpt 1.3
vendredi 6 mars 2009
SPMPT : new Release 1.2 (many fixes !) (svn4mamp become SPMPT)

Hi !
Today I come back with a new release of SPMPT for MAMP. This time, I take more time for testing and re-testing installer package. The new package work very well with a clean installation of MAMP, but both on a older installation. I include SetupDemo, a new script which create a SVN and a Trac environment. Now SPMPT for MAMP Works Out of Box!. Your svn server on mac in few clicks !
- fix svn-python binding problems
- fix rights on python, trac, libsvn
- fix httpd.conf update
- add SetupDemo.sh during installation
- tested succefully on clean MAMP 1.7.2 Install
Please test it !
download spmpt 1.2.1.1
Regards
Cédric
lundi 15 décembre 2008
Trac SVN Python available for MAMP, your SVN server on your Mac
two weeks ago, I talk you about a package for SVN (subversion) for MAMP (spmpt).
Today I'm glad to tell you, I include Python (2.6), ModPython (3.3.1), Trac (0.11.2.1) and well Subversion (1.5.2) in a new package for MAMP.
This package allow you to setup with few steps a perfect versionning environment based on SVN and this amazing Trac.
Download and install the package
Create your local svn repository (
svnadmin create /path/to/repository)Create your local trac project environment (
trac-admin /path/to/trac-project initenv)Configure svn.conf and trac.conf and include them in httpd.conf or ssl.conf with the rights paths
Reboot MAMP ! and get your subversion server on your Mac, with very nice GUI Trac.
Thank for reporting bugs !
Regards
Cédric Ferry
the package :
mercredi 3 décembre 2008
SVN 1.5.2 for MAMP 1.7 (Leopard & Tiger (Intel & PPC))
I'm happy to present my first package of SVN (subversion) 1.5.2 for MAMP 1.7, this package is easy to use. follow 3 steps and SVN will be installed inside your MAMP folder (/Applications/MAMP/)
You can download for free this package
Now, i'm working for full integration of Trac and Python (plus mod_python) for MAMP.
I get it working on my test machine, I will package it soon.
The easier way to get a subversion server on mac !
If you like this package, please consider donation.
Regards
Cédric Ferry