Comments (8)
Tarballs at github are generated with git tags, while I always used the following command line to release to pypi:
python setup.py register sdist --formats=gztar,zip bdist_egg upload
But I'm open to recommendations how to optimize such details.
from sparqlwrapper.
@olberger ping?
from sparqlwrapper.
Sparqlwrapper contains no binary components, you can get more portability by using sdist
instead of bdist
? (I think - or maybe it makes no difference since there are no binary components?)
from sparqlwrapper.
@gromgull we are already using sdist
, isn't it? Is there something like sdist_egg
?
I'm not so expert on this part of the process, so all the help will be very valued :-)
from sparqlwrapper.
Sorry - I am crazy - I am sure the line you pasted said bdist
when I wrote that comment.
RDFLib core I build only with sdist and no eggs - but it wont hurt either.
from sparqlwrapper.
Never mind, @gromgull.
The problem pointed by @olberger is that both tarballs are different:
$ wget https://pypi.python.org/packages/source/S/SPARQLWrapper/SPARQLWrapper-1.6.0.tar.gz
$ wget https://github.com/RDFLib/sparqlwrapper/archive/1.6.0.tar.gz
$ md5sum *.tar.gz
d8e008fd1f2572c69912c7ec23c08308 1.6.0.tar.gz
5d9e0ce0949e17eab949ae82f3fcad4d SPARQLWrapper-1.6.0.tar.gz
Because both contain different layout and content:
1.6.0.tar.gz:
sparqlwrapper-1.6.0/test
sparqlwrapper-1.6.0/test/wrapper_test.py
sparqlwrapper-1.6.0/test/dbpedia.py
sparqlwrapper-1.6.0/.gitignore
sparqlwrapper-1.6.0/README.md
sparqlwrapper-1.6.0/SPARQLWrapper
sparqlwrapper-1.6.0/SPARQLWrapper/SPARQLExceptions.py
sparqlwrapper-1.6.0/SPARQLWrapper/Wrapper.py
sparqlwrapper-1.6.0/SPARQLWrapper/__init__.py
sparqlwrapper-1.6.0/SPARQLWrapper/KeyCaseInsensitiveDict.py
sparqlwrapper-1.6.0/SPARQLWrapper/SmartWrapper.py
sparqlwrapper-1.6.0/SPARQLWrapper/SPARQLUtils.py
sparqlwrapper-1.6.0/SPARQLWrapper/jsonlayer.py
sparqlwrapper-1.6.0/LICENSE.txt
sparqlwrapper-1.6.0/setup.py
sparqlwrapper-1.6.0/MANIFEST.in
sparqlwrapper-1.6.0/ez_setup.py
sparqlwrapper-1.6.0/scripts
sparqlwrapper-1.6.0/scripts/example-optional.py
sparqlwrapper-1.6.0/scripts/example.py
sparqlwrapper-1.6.0/scripts/example-dbpedia.py
sparqlwrapper-1.6.0/scripts/sparql.py
sparqlwrapper-1.6.0/AUTHORS.txt
sparqlwrapper-1.6.0/ChangeLog.txt
sparqlwrapper-1.6.0/Makefile
SPARQLWrapper-1.6.0.tar.gz:
SPARQLWrapper-1.6.0/SPARQLWrapper
SPARQLWrapper-1.6.0/SPARQLWrapper/SPARQLExceptions.py
SPARQLWrapper-1.6.0/SPARQLWrapper/Wrapper.py
SPARQLWrapper-1.6.0/SPARQLWrapper/__init__.py
SPARQLWrapper-1.6.0/SPARQLWrapper/KeyCaseInsensitiveDict.py
SPARQLWrapper-1.6.0/SPARQLWrapper/SmartWrapper.py
SPARQLWrapper-1.6.0/SPARQLWrapper/SPARQLUtils.py
SPARQLWrapper-1.6.0/SPARQLWrapper/jsonlayer.py
SPARQLWrapper-1.6.0/LICENSE.txt
SPARQLWrapper-1.6.0/setup.py
SPARQLWrapper-1.6.0/PKG-INFO
SPARQLWrapper-1.6.0/MANIFEST.in
SPARQLWrapper-1.6.0/setup.cfg
SPARQLWrapper-1.6.0/SPARQLWrapper.egg-info
SPARQLWrapper-1.6.0/SPARQLWrapper.egg-info/PKG-INFO
SPARQLWrapper-1.6.0/SPARQLWrapper.egg-info/dependency_links.txt
SPARQLWrapper-1.6.0/SPARQLWrapper.egg-info/top_level.txt
SPARQLWrapper-1.6.0/SPARQLWrapper.egg-info/SOURCES.txt
SPARQLWrapper-1.6.0/SPARQLWrapper.egg-info/requires.txt
SPARQLWrapper-1.6.0/AUTHORS.txt
SPARQLWrapper-1.6.0/ChangeLog.txt
The difference is that tarball uploaded pypi only contains the module, and its binaries (eggs), not the other directories like scripts
or test
. I'm not sure how to handle this in the debian package, because even if we push to pypi those directories too, the release from github is a tag in the scm which will never contain the binaries. Any idea from the debian python team, @olberger?
from sparqlwrapper.
@olberger currently, the tarballs are still not identical (but some steps have been done in order to align them).
BTW, @wikier what do you think to rename the folder scripts
to examples
? After having a look on the debian package, I think that it makes sense. https://packages.debian.org/stretch/all/python-sparqlwrapper/filelist
from sparqlwrapper.
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again!
from sparqlwrapper.
Related Issues (20)
- Next Release? HOT 20
- Introduce Lint tools
- Convert SPARQLWrapper.SmartWrapper to pandas dataframe HOT 6
- Removing https://rdflib.github.io/sparqlwrapper HOT 4
- Documentation format HOT 4
- using "describe" in a comment leads to error HOT 12
- Organize old PRs/Issues
- Make tests faster and more reliable.
- TLS changes in Python 3.10, insecure endpoint
- Allow earlier versions of rdflib HOT 2
- Test failures probably due to remote service issues
- Cannot install with conda for Python >=3.10 HOT 2
- QueryBadFormed: A bad request has been sent to the endpoint
- WikiData Not Returning CSV HOT 1
- Can't use SPARQLWrapper in nix-shell (somewhat OT)
- AWS Signature Version 4 Authentication Support HOT 2
- Align query result types with rdflib
- Unable to query the rdf:type HOT 3
- 405 (Method not allowed) for SELECT QUERY with # street address in comment HOT 2
- GraphDB 10.2.2: b'Missing parameter: query' on INSERT HOT 2
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 sparqlwrapper.