python-sfml icon indicating copy to clipboard operation
python-sfml copied to clipboard

pip install doesn't work

Open tgrajewski opened this issue 7 years ago • 28 comments

pip install pysfml doesn't work, as advertised in the documentation.

tgrajewski avatar Feb 23 '17 19:02 tgrajewski

Hello,

Yes, I couldn't upload the binding because apparently the name was taken. I opened a ticket and hope they will answer quickly : https://sourceforge.net/p/pypi/support-requests/713/

intjelic avatar Feb 24 '17 08:02 intjelic

Hi. (Sorry if this gets somewhat off topic toward the end)

Apparently this seems to have reached a stalemate. What should people do in the meantime? There seems to be something on PyPi testing, but it doesn't seem to have an actual package either. I have been working with @ollpu (whom I mention merely to get him notified of any further development here) on a project that has somewhat peculiar shipping concern (an addon to Blender 3D, running on Blender's custom build of python on an unpredictable OS.)

Begin TL;DR

For more info about our beast, you can go here: https://github.com/nomelif/Audionodes

It was running ontop of PyGame. Sadly the audio API wasn't really adequate for our usage, and pySFML:s Stream primitive seems to fit our use like a glove.

End TL;DR

Anyway, having wheels or access to sfml via pip would be of great advantage: shipping our software is already a meandering path on the lip of an active volcano, having to ship compilers and c++ libraries is a no-go. Do you have the wheels somewhere? How does one build them cross-platform?

nomelif avatar Mar 30 '17 08:03 nomelif

Would pysfml2 work? Or psfml ?

MIfeanyi avatar Mar 30 '17 13:03 MIfeanyi

Or simply sfml, as the imported module is called that?

nomelif avatar Mar 30 '17 14:03 nomelif

@nomelif I agree. I think sfml/sfml2 should work

MIfeanyi avatar Apr 01 '17 13:04 MIfeanyi

pip install pySFML not working on Python 3.6 on Windows

Mahi avatar May 13 '17 15:05 Mahi

@Sonkun At this point I might as well create a temporary name until the name gets freed up...

MIfeanyi avatar May 25 '17 09:05 MIfeanyi

So was there a temporary name created? I tried pySFML, pySFML2, sfml, sfml2, psfml, psfml2. I'd like to install via pip. I'm using python 3.6.3. I also tried using python 3.5.0 and installing with the installer (pySFML-2.3.2.win-amd64-py3.5.exe) from the download page on the website. But importing sfml in my test program gave an error. Something along the lines of python35.dll being wrong for my version of python (there were no residual entries in my environment variables pointing to another version of python).

Somniantis avatar Oct 12 '17 05:10 Somniantis

How do we go about resolving this issue at this point? Does anyone know the requirements to create a Pips package

MIfeanyi avatar Oct 12 '17 14:10 MIfeanyi

+1

tavurth avatar Nov 13 '17 17:11 tavurth

There are no "requirements" for making one, you just make one... :P @MIfeanyi

Mahi avatar Nov 19 '17 10:11 Mahi

Any updates on this issue? I give +1 to choosing another name until the name conflict is resolved. As far as I can understand, pySFML is inaccessible over PyPI now, yes?

fauskanger avatar Jan 01 '18 17:01 fauskanger

https://pypi.python.org/pypi/pySFML (or https://pypi.org/project/pySFML/ ) seems to be empty now.

fauskanger avatar Jan 01 '18 18:01 fauskanger

Just checking in, as it's been about a year: this package has been absent from PyPI and not posted under an alternate name, whereas the first prominent code on the homepage of this project still reads: pip install pySFML. Does anyone connected to the project intend to resubmit to the PyPI?

phrz avatar Feb 07 '18 18:02 phrz

shoot give me next week I can start working on this on my spare time. Not sure if anyone has actually spoke to the devs but you can't even access their site right now...

MIfeanyi avatar Apr 08 '18 07:04 MIfeanyi

I'll be working on that really soon. Yes, website down because I'm rewriting the website, did some reinstall on my servers, and will push update to SFML 2.5 in a few days. By the end of next week, everything will be back online and updated!

On Sun 8 Apr 2018 14:42 Michael Redford, [email protected] wrote:

shoot give me next week I can start working on this on my spare time. Not sure if anyone has actually spoke to the devs but you can't even access their site right now...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Sonkun/python-sfml/issues/147#issuecomment-379528542, or mute the thread https://github.com/notifications/unsubscribe-auth/AAvfidi0O-6UNoWs5ffqxL3xiOcpIs5uks5tmb98gaJpZM4MKZ5E .

intjelic avatar Apr 08 '18 15:04 intjelic

That's great news!

kubasobon avatar Apr 11 '18 08:04 kubasobon

Still can't install via pip and the website's still a stub :(

jangler avatar May 29 '18 20:05 jangler

I'm trying to install PySFML but I'm getting an error:

Could not find a version that satisfies the requirement pySFML (from versions: )
No matching distribution found for pySFML

rogeriodec avatar Jun 07 '18 13:06 rogeriodec

Any news with it ?

screwer avatar Jul 13 '18 02:07 screwer

I have created the PySFML PyPI package in 2015 and haven't updated it. If anyone is willing to maintain it, I'd be pleased giving access to it.

TankOs avatar Aug 21 '18 06:08 TankOs

@TankOs I'm interested in helping I would just probably need you to walk me through the first update.

MIfeanyi avatar Aug 22 '18 11:08 MIfeanyi

@MIfeanyi I'm interested in getting this all put together as well. It's going to be a learning experience, but I can give some assistance. It'd be really nice if we got an automated build figured out for this thing.

I'm currently trying to build this project with the setup.py file, but I'm running into a linking error and I just can't seem to figure out how to get rid of it. I have the directory for the SFML dlls in the setup.py file and I even dropped the dlls into my working directory -- I think that should have worked. I'm a bit stuck until I can figure out a remedy. Maybe it'd work if I went to Linux or used a different compiler on Windows. I guess I still have some options.

This is the latest error that I'm at after getting Cython, MinGW, Visual Studio 2015 and SFML installed:

> python setup.py build
...
src\sfml\system\system.cpp(586): fatal error C1083: Cannot open include file: 'SFML/System.hpp': No such file or directory

jawaff avatar Oct 13 '18 06:10 jawaff

@MIfeanyi It'd also be really nice if we could get a github-pages branch on this project so that it will always be up. I think projects like this shouldn't necessarily belong to a single person, because that sets the project up for failure. At any point a project should be able to be transferred to a new person so that its development can continue. We really just need an automated build and documentation for how the project works.

jawaff avatar Oct 13 '18 06:10 jawaff

@MIfeanyi I'm not going to be able to be the maintainer of this project, but I'd like to get the latest build of this project into pypi and then allow other people to easily build off of it. We really just need to get this project forked/duplicated, we need to setup some branching rules (only reviewed code goes into master) and then we need to give a few maintainers the ability to merge pull requests. I can do the forking/duplicating unless you really want to become the new pysfml maintainer?

PySFML is such a cool library and I want it to continue on. Pygame's public community right now is very impressive. PySFML needs to have an equally impressive setup. SFML was meant to be the SDL replacement, so the Python binding is kind of dropping the ball right now.

jawaff avatar Oct 13 '18 06:10 jawaff

Any movement on this issue?

gannj001 avatar Dec 17 '18 21:12 gannj001

I'll work on it this week. I was able to find a solution for the PyPi package.

intjelic avatar Dec 17 '18 22:12 intjelic

@Sonkun very cool, have have spare bandwidth over they next couple weeks, let me know how I can help.

@jawaff do we hang out in IRC or discord? I would like to assist with maintenance.

russellballestrini avatar Dec 24 '18 17:12 russellballestrini