Skip to content

Ecrire un petit setup.py pour pouvoir effectivement installer ça depuis 'pip install git+...' #2

@Naereen

Description

@Naereen

J'avais écrit dans la documentation que l'on peut faire

sudo pip install git+https://github.com/Naereen/FreeSMS.py

Mais ça ne marche pas ! Il n'y a pas de setup.py !

$ pip install git+https://github.com/Naereen/FreeSMS.py
Collecting git+https://github.com/Naereen/FreeSMS.py
  Cloning https://github.com/Naereen/FreeSMS.py to /tmp/pip-req-build-30ler4o9
  Running command git clone -q https://github.com/Naereen/FreeSMS.py /tmp/pip-req-build-30ler4o9
    ERROR: Command errored out with exit status 1:
     command: /tmp/rcviz/env3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-30ler4o9/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-30ler4o9/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-1_z8sxf6
         cwd: /tmp/pip-req-build-30ler4o9/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/lib/python3.6/tokenize.py", line 452, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-30ler4o9/setup.py'
    ----------------------------------------
WARNING: Discarding git+https://github.com/Naereen/FreeSMS.py. Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions