Comments (4)
Wheels? What?
from pyenet.
The new Python packaging format. Lets you upload binaries to Pypi for Windows, Mac, and Linux (but Linux has some limits. Should work for this package though). People don't need to follow build instructions and/or even have a C compiler if you use them. It makes pip install foo
always work, as long as foo
has a wheel matching my platform and version of Python. Essentially, it can make your package behave like a pure Python dependency. It's been built into Python for a while now.
Having a C compiler is difficult on Windows at least. I can't speak to Mac, as I don't use the platform. People will eventually install a C compiler, of course. But 2.7 now requires you to go out of your way to get it via a special download specifically for Python from Microsoft. 3.5 requires you to install VS2015, which takes an entire day for me and most people I know. For anything requiring unusual libraries or interesting build steps, it's helpful even then: with a wheel matching my version of Python, I don't have to do anything.
I'd just fork and make whatever changes need to be made, but only the package owner can actually upload them, so it's not worth it without making an issue and getting you on board first. I can write you a script that uses the Python 3 launcher to iterate through all possible Python combinations to build the wheels, skipping any that aren't installed. Then you just have to upload as usual. I can't easily automate Mac in the same manner, as my familiarity with the platform is sadly lacking.
This would be really helpful for the newbie experience. Enet is probably one of the most useful libs for games out there. I'm not aware of many other options that do what it does.
from pyenet.
Is it possible to do this on Linux? I don't have access to or really know how to use Windows.
from pyenet.
No. You need access to Windows to build them. There might be a cross compilation procedure, but I don't know of it. There is a new type of wheel for Linux but it's very new and obviously only works on Linux.
I tried installing this from Pypi this morning. In order to get this package on Windows, you have to clone it and follow the build instructions yourself. The Pypi upload is useless for Windows platforms. If I believe pip, this package flat out doesn't work.
You could get Appveyor to do it. Appveyor is free for OSS stuff. Personally, I don't want to go that far: it's overkill for the situation and a lot of work. If you have a Windows machine and the packlage builds, it's only a few commands at a terminal.
from pyenet.
Related Issues (20)
- Support for intercept callback HOT 1
- Socket.send wrapper for enet_socket_send HOT 4
- Address() creation with non-byte host argument HOT 1
- Is pynet still alive? HOT 3
- PyPi package 404s HOT 1
- enet web address update HOT 4
- Windows compilation instructions HOT 3
- Callbacks swallow exceptions HOT 2
- Server not working properly? HOT 7
- Unable to send packets? HOT 1
- Is it possible to connect pyenet to enet in C++ program? HOT 1
- what is enet_host_destroy in pyenet? HOT 1
- CheckSum
- how to set host checksum?
- settings
- Linux and Windows build error - _ENetPeer struct HOT 1
- Using pyenet in repl.it will just stay in the connecting state.
- How do i set ENet Checksum?
- enet_crc32?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyenet.