Firefly is an open source high-performance server framework that can be used as your own game server development, allowing developers to focus on game logic processing.
First, the necessary environment:
python2.6 This is the version that developers use, and it's best to keep them in line.
MySQL5.0 above version, 32-bit environment and 64-bit environment download the corresponding installation package, the typical installation can
Easy_install for installing third party Library win can be installed with Setuptools-0.6c11.win32-py2.6.exe or the corresponding 64-bit installer
This is setuptools, for Operation Easyinstall
After the installation is complete, multiple script folders will appear under the Python26 folder
Pythonforwin installation package, used to invoke the Win32 API in Python
Second, the environment variable configuration
1 python environments like e:\python\
2 Easy_intall environment, such as e:\python26\script\
Iii. third-party library dependencies
Twisted, Python-memcache, Dbutils, mysql-python,affinity
All use Easy_install installation, but I made a mistake in installing Mysql-python, I got a Mysql-python-1.2.3c1.win32-py2.6.exe installation package.
In fact, it can be done with twisted, the bag is called Twisted-12.2.0.win32-py2.6.exe
The packages that can be installed with Easy_install are as follows
Easy_install python-memcached
Easy_install Affinity
Easy_install dbutils
Easy_install Zope.interface
Iv. Installation of Firefly
Cut to the Filrefly directory, using the command line
Python setup.py Build
Python setup.py Install
Get it done.
But here is not good to upload files, the article mentioned in the next Dongdong can be very easy to search