Comments (6)
The purpose of this python module (python-chardet) is to improve performance by modifying only the module without changing the code.
This means that anyone who wants to use this module wants to improve performance without changing the code.
Therefore, this module crashes when it is installed at the same time with PyPI's chardet. Moreover, PyPI's chardet is so famous.
For this reason, I can not register with PyPI.
from python-chardet.
You can register it under a different name.
Distros often have conflicting packages. Rpm has a tag in the .spec to indicate conflicts.
from python-chardet.
Distros can be packaged without registering at PyPI. I think this is an other issue.
The reason for not registering at PyPI are as follows:
- It has the same namespace and apis as PyPI chardet.
- Because of the above reasons, a conflict may occur when installing with PIP.
from python-chardet.
https://en.opensuse.org/openSUSE:Packaging_Python see Naming policy
If you only upload a sdist, and not a wheel, the setup.py is always executed. setup.py can refuse to install if the system already has a chardet
module.
I have it mostly packaged at https://build.opensuse.org/package/show/home:jayvdb:py-new/python-chardet-c , but I can not submit it as an alternative to the original chardet until it has registered a name. I also fixed up the lib https://build.opensuse.org/request/show/720085
from python-chardet.
Well. It seems to be talking differently.
What I worry about is that when I register this extension with PyPI, it crashes because of the same API, namesapce as the existing chardet.
Distros is not my worry yet.
from python-chardet.
What about renaming the dso to _chardet_c
and the python code to namespace chardet_c
?
Then it can co-exist with all of the similar libraries
https://build.opensuse.org/package/show/home:jayvdb:py-new/python-cchardet
https://build.opensuse.org/package/show/home:jayvdb:py-new/python-pychardet
from python-chardet.
Related Issues (6)
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 python-chardet.