Git Product home page Git Product logo

joueur.py's Issues

Makefile doesn't see linked Python versions

So I installed the newest python version for the arena

wget https://www.python.org/ftp/python/3.7.3/Python-3.7.3.tgz
tar -xzvf Python-3.7.3.tgz
cd Python-3.7.3
mkdir build
cd build
../configure --enable-optimizations --with-ensurepip=install
make -j8
make altinstall
update-alternatives --install /usr/bin/python python /usr/local/bin/python3.7 50
alias pip=pip3.7
alias pip3=pip3.7
alias python3=python

but makefiles do not see the symbolic links that update-alternatives and alias provides -- therefore "make" will fail with

pip3: unknown command

What does work is if you replace pip3 in the makefile with

pip3.7

and python3 in the makefile with

python3.7

?? Is there a better way to get around this? I think for the competition I will tell people to change their make file.

PEP8 compliant creer templates.

Currently there is no 80 width limiter for the creer templates. Use TextWrapper to wrap long lines. Then it should be full compliant.

If there are other PEP8 errors fix them too; though I think I already did that a while back.

Provide documentation on importing files

Users of the client have tried to import their own files locally, but imported files have to be pre-pended with games.GAME_NAME because it is relative to main.py's location. Adding clarification about this in the README or elsewhere would help to reduce the chance of this occurring.

Add syntax checking to makefile

Currently make is intended to "compile" the clients.

Python does not need this, but it could do basic syntax checking, as if the code is invalid it will not run when the time comes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.