Skip to content Skip to sidebar Skip to footer
Showing posts with the label Setuptools

How To Include License File In Setup.py Script?

I have written a Python extension module in C++. I plan to distribute the module with setuptools. T… Read more How To Include License File In Setup.py Script?

Install Module To Site-packages With Setuptools

I'm trying to upload a CLI to PIP that, once installed, will run when the user types myscript M… Read more Install Module To Site-packages With Setuptools

Python Setuptools: How Can I Install Package With Cython Submodules?

I have a python package named pytools. It contains a cython-based submodule nms. When I install the… Read more Python Setuptools: How Can I Install Package With Cython Submodules?

Python Setuptool How Can I Add Dependency For Libxml2-dev And Libxslt1-dev?

My application needs lxml >= 2.1, but to install lxml its requied to install libxml2-dev libxslt… Read more Python Setuptool How Can I Add Dependency For Libxml2-dev And Libxslt1-dev?

Setuptools Platform Specific Dependencies

Is there any way to tell setuptools or distribute to require a package on a specific platform? In … Read more Setuptools Platform Specific Dependencies

Setuptools - Shipping Additional Files

Situation I createt my setup.py file. Most of it works out of the box but I'm having some troub… Read more Setuptools - Shipping Additional Files

When To Use Pip Requirements File Versus Install_requires In Setup.py?

I'm using pip with virtualenv to package and install some Python libraries. I'd imagine w… Read more When To Use Pip Requirements File Versus Install_requires In Setup.py?

How To Create A .dylib C Extension On Mac Os X With Distutils And/or Setuptools?

I need to make a C extension with distutils (and/or setuptools) that can be used BOTH dynamically a… Read more How To Create A .dylib C Extension On Mac Os X With Distutils And/or Setuptools?

Top-level Package Handling With Setuptools (or Another Python Egg Builder)

I am writing a little python app. I want to be able to easily deploy the app. I know that python 2.… Read more Top-level Package Handling With Setuptools (or Another Python Egg Builder)

How To Keep Data_files Between Package Updates?

I'm using the data_files argument of setuptools.setup() to install config files to /etc and the… Read more How To Keep Data_files Between Package Updates?

Python Fails After Deleting Site.py

tl;dr I accidentally deleted my Python installation’s site.py file. Now, when trying to start Pytho… Read more Python Fails After Deleting Site.py

Easy_install Gets Wrong Pip Version

I have been following the instructions on http://docs.python-guide.org/en/latest/starting/install/o… Read more Easy_install Gets Wrong Pip Version

Installing Python-2.7 On Ubuntu 10.4

I can't seem to install zlib properly, I installed Python from source on Ubuntu10.4 '####… Read more Installing Python-2.7 On Ubuntu 10.4

"attributeerror: 'module' Object Has No Attribute" With Installed Package

I have a project with these contents: proj ├── src │ ├── scriptA.py │ ├── scriptB.py │ └── __… Read more "attributeerror: 'module' Object Has No Attribute" With Installed Package

Is There Any Practical Reason Why I Must Have A Code Version Embedded In Python Source Code?

Is there any practical reason why I must have a code version embedded in the source code? Explicit… Read more Is There Any Practical Reason Why I Must Have A Code Version Embedded In Python Source Code?

Getting Setuptools To Ignore Pypi Repository

I have in my packages setup.py: from setuptools import setup setup( dependency_links=['htt… Read more Getting Setuptools To Ignore Pypi Repository

How Do I Package For Distribution A Python Module That Uses A Shared Library?

I'm writing some bindings for a C library and am not sure how to configure all this for distrib… Read more How Do I Package For Distribution A Python Module That Uses A Shared Library?

How To Install Writable Shared And User Specific Data Files With Setuptools?

I know package_data. But it is for readonly data inside the package. Or is this assumption wrong? H… Read more How To Install Writable Shared And User Specific Data Files With Setuptools?

Using Git Submodules With Python

I've read a lot of blog posts and questions on this site about the usage of git submodules and … Read more Using Git Submodules With Python

How To Solve Error Installing Setuptools Python In Windows

can someone help me with an issue I am struggling for a couple of hours, I am trying to install … Read more How To Solve Error Installing Setuptools Python In Windows