Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please make it installable through pip #248

Open
clonedagain opened this issue Jan 16, 2017 · 4 comments
Open

Please make it installable through pip #248

clonedagain opened this issue Jan 16, 2017 · 4 comments

Comments

@clonedagain
Copy link
Contributor

Installing with the setup is rather easy, but it would be easier still if we could get ponysay through PIP.
Is it something you would consider?

@JotaRandom
Copy link
Collaborator

There is a long long standing bug about port the installation to a proper python one (to suport python virtual env).

this is related but in this case request specificaly PIP(squeak ;p ).

I will let it open since they aproach the same issue but from different angles... aaand because i can find the intallation request.

(I'm artist and documenter not programer so any patch is welcome).

@JotaRandom
Copy link
Collaborator

The bug is #94 talking about the build system.

still a work in progress since /setup.py was a "temporal" until we get the definitive, this bug talk specificaly to port to PIP intead of a more options like 94 so I will let it open.

@thorsummoner
Copy link

thorsummoner commented Jul 24, 2017

Because I feel frustrated and want to say soemthing but know there is nothing valuable I can say, here are the error messages python yields when trying to install this:

$ python2 -m pip install --user git+https://github.com/erkin/ponysay.git
Collecting git+https://github.com/erkin/ponysay.git
  Cloning https://github.com/erkin/ponysay.git to /tmp/pip-KA9XmJ-build
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-KA9XmJ-build/setup.py", line 1202
        print('\n\033[1mUSAGE:\033[21m', end='')
                                            ^
    SyntaxError: invalid syntax
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-KA9XmJ-build/

"Oh its python 3 only, nothing wrong with that."

$ python3 -m pip install --user git+https://github.com/erkin/ponysay.git
Collecting git+https://github.com/erkin/ponysay.git
  Cloning https://github.com/erkin/ponysay.git to /tmp/pip-oywq__6i-build
    Complete output from command python setup.py egg_info:
    setup.py: fatal: Unrecognized option --egg-base. Use --help or consult the manual.
    
    ----------------------------------------

"Oh setup bug, Maybe I can offer a patch to fix it. looks at setup.py, comes here"

I'm excited for this project though, sincerely. If it helps, here is the python packaging and distribution documentation I would recommend reading:

https://packaging.python.org/tutorials/distributing-packages/

There is also an example repository, https://github.com/pypa/sampleproject/

I also found it unclear how to use packaged data files, this may help: https://stackoverflow.com/a/5601839

@loxaxs
Copy link

loxaxs commented Apr 29, 2019

#248 #264 #273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants