Changes between Version 70 and Version 71 of WikiStart


Ignore:
Timestamp:
02/10/22 15:34:21 (2 years ago)
Author:
Wouter Pasman
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v70 v71  
    7878You may have to take different or additional steps if you use an IDE like eclipse with pydev, or pycharm.
    7979
    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
    8481
    8582The basic structure of a party that supports the SAOP behaviour looks like this
     
    155152Do 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.
    156153}}}
     154
     155== Compilation
     156If 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
     158Make 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.
    157159
    158160