local RDFLIB install

2 views
Skip to first unread message

KNAAK, KARL R CIV USAF AFMC AFLCMC/EBZ

unread,
May 9, 2025, 8:57:33 AMMay 9
to rdfli...@googlegroups.com

Good morning,

 

I apologize for the probably ridiculous question, but I work on a system that cannot use pip for installing packages. I usually download the tar.gz, extract, and run the setup.py. I am in no way advanced in my experience with python so I have been trying to find a method of installing RDFLIB without a setup.py and am unfamiliar with how to do so. I have not had any luck with searching the internet for an alternative solution. I was hoping you might have some input.

 

I greatly appreciate your assistance. I hope you have a great weekend.

 

Karl Robert Knaak

NH-03, 0801 Engineer

Wes Turner

unread,
May 9, 2025, 9:24:09 AMMay 9
to rdfli...@googlegroups.com
Can you just copy rdflib/ into site-packages/ from an archive of a git release tag or a release wheel? But that won't create the project.scripts in bin/, and you need some process for checking for updates so that future maintainers can again vendor the rdflib library into your [monorepo] with the license 


https://github.com/RDFLib/rdflib/blob/main/pyproject.toml

A .whl wheel package is an installable zip file; you can just add a .zip suffix and work with normal unzip with CRC32 only. 

Pip can check checksums if they're listed in the requirements.txt. Also there's TUF on PyPI for signing uploaded packages. 



--
http://github.com/RDFLib
---
You received this message because you are subscribed to the Google Groups "rdflib-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rdflib-dev+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rdflib-dev/DM2P111MB133117D04CDCF0039273D058C78AA%40DM2P111MB1331.NAMP111.PROD.OUTLOOK.COM.

Nicholas Car

unread,
May 10, 2025, 8:18:12 AMMay 10
to rdflib-dev
Hi Karl,

Just adding to what Wes has mentioned: just remember that "installing" with Python just means adding the Python package to your path, so you can save the rdflib .tar.gz file somewhere, extract it and just ensure the somewhere's on your Python path and then you can "import rdflib" i your code! PIP, setup.py and so on just do this for you in fewer steps.

chatgpt nails it, step by step, for multiple different platforms, with this exact question:

How do I install a Python package without using PIP or setup.py?

Cheers, Nick
To view this discussion visit https://groups.google.com/d/msgid/rdflib-dev/CACfEFw_gXbBCbjTDunELK2pNBEGip7wpEizHOQmQcdY7WzL8DQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages