WizardWarsIO / wiz-server

WizardWars.IO Python Server
http://WizardWars.IO
11 stars 1 forks source link

add(requirements): add a list of python dependencies #69

Closed hissalht closed 6 years ago

hissalht commented 6 years ago

Working on #68

quantumproducer commented 6 years ago

@hissalht I just pulled the wiz-server repo, ran pip freeze and got this (slightly different):

asn1crypto==0.24.0
certifi==2018.10.15
cffi==1.11.5
chardet==3.0.4
Click==7.0
cryptography==2.1.4
enum34==1.1.6
Flask==1.0.2
Flask-SocketIO==3.0.2
gevent==1.3.7
greenlet==0.4.15
gyp==0.1
idna==2.6
ipaddress==1.0.17
itsdangerous==1.1.0
Jinja2==2.10
keyring==10.6.0
keyrings.alt==3.0
MarkupSafe==1.0
numpy==1.15.3
pycparser==2.19
pycrypto==2.6.1
pygobject==3.26.1
python-engineio==2.3.2
python-socketio==2.0.0
pyxdg==0.25
requests==2.20.0
SecretStorage==2.3.1
six==1.11.0
socketIO-client==0.7.2
tcod==7.0.1
urllib3==1.24
websocket-client==0.53.0
Werkzeug==0.14.1

What do you get it if you pull from the public master + run pip freeze?

hissalht commented 6 years ago

Unless you were inside of a virtual python environment. This is the list of every python dependencies that are installed globally on your computer.

If I run pip freeze without an isolated python environment I just get my globally installed packages like youtube-dl or trash-cli, completely unrelated to the repo.

The requirements.txt file I provided is the result of running pip freeze after installing the following packages in a fresh python environment and making sure everything was working correctly :

The result requirements.txt lists the packages above and their own dependencies.

Edit: I also commited a quick virtualenv tutorial : https://github.com/hissalht/wiz-server/blob/requirements/README.md

quantumpotato commented 6 years ago

Merged. Thank you @hissalht !