Changes between Version 70 and Version 71 of WikiStart
- Timestamp:
- 02/10/22 15:34:21 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v70 v71 78 78 You may have to take different or additional steps if you use an IDE like eclipse with pydev, or pycharm. 79 79 80 === Compilation 81 If you want to deploy your party on your [https://tracinsy.ewi.tudelft.nl/pubtrac/GeniusWebPythonPartiesServer PythonPartiesServer] you need to compile your party. Compile with {{{python3 setup.py sdist}}}. This gives you a you get a {{{dist/yourparty-X.Y.Z.tar.gz}}} that can be copied into the pypartiesserver for deployment. 82 83 Make sure that you update the setup.py to do this: the name, packages, install_requires etc all may have to be updated, depending on what you changed in your project. Also notice that compilation takes all dependencies from the setup.py. It ignores your requirements.txt file. 80 84 81 85 82 The basic structure of a party that supports the SAOP behaviour looks like this … … 155 152 Do not use stdin and stdout/print in your party. These are used for communicating with the partyserver. Using them will disturb that communication and most likely result in your party requesting illegal actions. Executing an illegal action will result in your party being killed by the protocol. 156 153 }}} 154 155 == Compilation 156 If you want to deploy your party on your [https://tracinsy.ewi.tudelft.nl/pubtrac/GeniusWebPythonPartiesServer PythonPartiesServer] you need to compile your party. Compile with {{{python3 setup.py sdist}}}. This gives you a you get a {{{dist/yourparty-X.Y.Z.tar.gz}}} that can be copied into the pypartiesserver for deployment. 157 158 Make sure that you update the setup.py to do this: the name, packages, install_requires etc all may have to be updated, depending on what you changed in your project. Also notice that compilation takes all dependencies from the setup.py. It ignores your requirements.txt file. 157 159 158 160