When you have a setup.py file, you can get the name of the package via the command: C:\some\dir>python setup.py --name And this would print the name of the
EDIT: See answer below for explanation of my mistake, and the solution. I was trying to follow the instructions in @dnozay's answer on how to read __version__ i
I'm writing a Python package to be distributed and installed via PyPi.org. There are plenty of examples out there, but I can't get my mind wrapped around the pr
I've read a lot of blog posts and questions on this site about the usage of git submodules and still have no idea how to better use them with python. I mean, wh
I try to use the Numba for some fast calculations. I got the following issue while creating a package that use a Numba extension. I did similar things as sugges
I am trying to make use of PEP 496 -- Environment Markers and PEP 508 -- Dependency specification for Python Software Packages by specifying dependencies that o
I want to let setuptools install Phoenix in my project and thus added setup( ... dependency_links = [ "git+https://github.com/wxWidgets/Phoenix
Edit: This is not a duplicate of Python offline package installation as the answer require 'pip' to be present. My premise is when 'pip' is not available. My p
It's not completely clear to me, what is the status of setup.cfg. I am looking for solutions for my other question about PEP 508 environment markers, and I beca
I am trying to understand the difference between extras_require() and install_requires() in setup.py but couldn't get it. Both are used for installing Python de
I'm trying to configure setuptools to create a console entry point for my package, following the docs, and ending up with the following config: [options.entry_p
I am trying to write setup.py for my package. My package needs to specify a dependency on another Git repository. This is what I have so far: from setuptools im
When using setuptools/distutils to build C libraries in Python $ python setup.py build the *.so/*.pyd files are placed in build/lib.win32-2.7 (or equivalent)
I have the following directory structure: /modules/ /modules/setup.py /modules/setup.cfg /modules/module1/ /modules/module1/__init__.py /modules/module1/tool1
When trying to install Setup.py am getting the following error: 'extras_require' must be a dictionary whose values are strings or lists of strings containing v
I want to install some specific version of a package (in this case Django) inside the virtual environment. I can't figure it out. I'm on Windows XP, and I creat