intjelic / python-sfml

Official binding of SFML for Python
https://www.python-sfml.org
Other
176 stars 41 forks source link

pip install doesn't work #147

Open tgrajewski opened 7 years ago

tgrajewski commented 7 years ago

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

intjelic commented 7 years ago

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/

nomelif commented 7 years ago

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?

MIfeanyi commented 7 years ago

Would pysfml2 work? Or psfml ?

nomelif commented 7 years ago

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

MIfeanyi commented 7 years ago

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

Mahi commented 7 years ago

pip install pySFML not working on Python 3.6 on Windows

MIfeanyi commented 7 years ago

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

Somniantis commented 6 years ago

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).

MIfeanyi commented 6 years ago

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

tavurth commented 6 years ago

+1

Mahi commented 6 years ago

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

fauskanger commented 6 years ago

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 commented 6 years ago

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

phrz commented 6 years ago

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?

MIfeanyi commented 6 years ago

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...

intjelic commented 6 years ago

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, notifications@github.com 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 .

kubasobon commented 6 years ago

That's great news!

jangler commented 6 years ago

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

rogeriodec commented 6 years ago

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
screwer commented 6 years ago

Any news with it ?

TankOs commented 6 years ago

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.

MIfeanyi commented 6 years ago

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

jawaff commented 5 years ago

@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 commented 5 years ago

@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 commented 5 years ago

@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.

gannj001 commented 5 years ago

Any movement on this issue?

intjelic commented 5 years ago

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

russellballestrini commented 5 years ago

@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.