pokereval: update py2exe walkthrough, add build instructions for windows site-package
This commit is contained in:
parent
c6fbca1e37
commit
3e34a7804f
|
@ -30,14 +30,17 @@ py2exe 0.6.9 ... http://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/py2ex
|
||||||
psycopg2 ... http://www.stickpeople.com/projects/python/win-psycopg/psycopg2-2.2.1.win32-py2.6-pg8.4.3-release.exe
|
psycopg2 ... http://www.stickpeople.com/projects/python/win-psycopg/psycopg2-2.2.1.win32-py2.6-pg8.4.3-release.exe
|
||||||
(Note: stickpeople is the offical repository, not a community build)
|
(Note: stickpeople is the offical repository, not a community build)
|
||||||
|
|
||||||
|
(py)pokereval v138 ... http://sourceforge.net/projects/fpdb/files/fpdb/pypoker-eval-win32/pokereval-138.win32.exe/download
|
||||||
|
(Note: There are no official windows builds, this installer is built from source. A walkthrough is in the same directory as this walkthrough.
|
||||||
|
|
||||||
1.2/ MySQL
|
1.2/ MySQL
|
||||||
|
|
||||||
MySQL-python-1.2.3.win32-py2.6-fpdb0.20.exe ... http://www.mediafire.com/file/iodnnnznmj1/MySQL-python-1.2.3.win32-py2.6-fpdb0.20.exe
|
Install the following file:
|
||||||
|
|
||||||
This is an intaller built from source by gimick. There are no official mysql-python2.6 builds for windows.
|
MySQL-python-1.2.3.win32-py2.6-fpdb0.20.exe ... http://sourceforge.net/projects/fpdb/files/fpdb/MySQL-python-1.2.3-win32-py2.6/MySQL-python-1.2.3.win32-py2.6-fpdb0.20.exe/download
|
||||||
|
|
||||||
Community builds are also available from some developers. see www.codegood.com for example.
|
Note: This is an intaller built from source by gimick. A walkthrough to build this installer is in the same directory as this walkthrough.
|
||||||
|
Note: There is no official mysql-python2.6 build for windows. Community builds are available from some developers. see www.codegood.com for example.
|
||||||
|
|
||||||
|
|
||||||
1.3/ pytz fixup to work in an executable package
|
1.3/ pytz fixup to work in an executable package
|
||||||
|
|
|
@ -53,7 +53,7 @@ Python 2.6.5 ... http://www.python.org/ftp/python/2.6.5/python-2.6.5.msi
|
||||||
|
|
||||||
1.2/ Grab pypokereval stuff from fpdb project here ...
|
1.2/ Grab pypokereval stuff from fpdb project here ...
|
||||||
|
|
||||||
pypokereval ... http://sourceforge.net/projects/fpdb/files/fpdb/pypoker-eval-win32/pypokereval-138-win32-py265-fpdb-1.1.exe/download
|
pypokereval ... http://sourceforge.net/projects/fpdb/files/fpdb/pypoker-eval-win32/dev/pypokereval-138-win32-py265-fpdb-1.1.exe/download
|
||||||
|
|
||||||
1.3/ Double click the pypokereval-138-win32-py265-fpdb-1.1.exe and extract the folder to the desktop
|
1.3/ Double click the pypokereval-138-win32-py265-fpdb-1.1.exe and extract the folder to the desktop
|
||||||
|
|
||||||
|
@ -62,10 +62,10 @@ pypokereval ... http://sourceforge.net/projects/fpdb/files/fpdb/pypoker-eval-win
|
||||||
----------------------------------------------------------
|
----------------------------------------------------------
|
||||||
|
|
||||||
dos>cd desktop
|
dos>cd desktop
|
||||||
dos>mkdir pypokereval138-installer-win32-py265-fpdb
|
dos>mkdir temp
|
||||||
dos>cd pypokereval138-installer-win32-py265-fpdb
|
dos>cd temp
|
||||||
dos>mkdir payload
|
dos>mkdir pokereval
|
||||||
dos>cd payload
|
dos>cd pokereval
|
||||||
|
|
||||||
dos>copy ..\..\pypokereval-138-win32-py265-fpdb-1.1\_pokereval_2_6.pyd
|
dos>copy ..\..\pypokereval-138-win32-py265-fpdb-1.1\_pokereval_2_6.pyd
|
||||||
dos>copy ..\..\pypokereval-138-win32-py265-fpdb-1.1\pokereval.py
|
dos>copy ..\..\pypokereval-138-win32-py265-fpdb-1.1\pokereval.py
|
||||||
|
@ -84,9 +84,10 @@ does not work unless the pokereval.py (which defines the PokerEval class) is ren
|
||||||
dos> rename pokereval.py __init__.py
|
dos> rename pokereval.py __init__.py
|
||||||
|
|
||||||
3. Prepare the additional packaging files
|
3. Prepare the additional packaging files
|
||||||
|
-----------------------------------------
|
||||||
|
|
||||||
dos>cd desktop
|
dos>cd desktop
|
||||||
dos>cd pypokereval138-installer-win32-py265-fpdb
|
dos>cd temp
|
||||||
|
|
||||||
3.1/ setup.py
|
3.1/ setup.py
|
||||||
-------------
|
-------------
|
||||||
|
@ -109,7 +110,8 @@ author_email = "Fpdb-main@lists.sourceforge.net",
|
||||||
url = "fpdb.sourceforge.net",
|
url = "fpdb.sourceforge.net",
|
||||||
packages = ['pokereval'],
|
packages = ['pokereval'],
|
||||||
package_data = {'pokereval' : filelist },
|
package_data = {'pokereval' : filelist },
|
||||||
long_description = """An unofficial installer for pypokereval v138, win32, python v2.6.5
|
long_description = """An unofficial and experimental installer for pypokereval v138
|
||||||
|
Built for 32bit windows and python v2.6.5
|
||||||
pokereval official project page is at http://www.pokersource.info/"""
|
pokereval official project page is at http://www.pokersource.info/"""
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -120,7 +122,7 @@ pokereval official project page is at http://www.pokersource.info/"""
|
||||||
|
|
||||||
The following structure should now exist.
|
The following structure should now exist.
|
||||||
|
|
||||||
pypokereval138-installer-win32-py265-fpdb
|
temp
|
||||||
|--setup.py
|
|--setup.py
|
||||||
|--pokereval
|
|--pokereval
|
||||||
|--_pokereval_2_6.pyd
|
|--_pokereval_2_6.pyd
|
||||||
|
@ -132,9 +134,11 @@ pypokereval138-installer-win32-py265-fpdb
|
||||||
3.3 Build
|
3.3 Build
|
||||||
---------
|
---------
|
||||||
|
|
||||||
Navigate to the desktop/pypokereval138-installer-win32-py265-fpdb directory
|
Navigate to the desktop/temp directory
|
||||||
|
|
||||||
dos>c:\Python26\python.exe setup.py bdist_wininst --plat-name=win32 --user-access-control auto
|
dos>c:\Python26\python.exe setup.py bdist_wininst --plat-name=win32 --user-access-control force
|
||||||
|
|
||||||
|
Note: UAC auto seems to cause lockup on my win7 system
|
||||||
|
|
||||||
3.4 Complete
|
3.4 Complete
|
||||||
------------
|
------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user