MestreLion / humblebundle

API for managing Humble Bundle games library
GNU General Public License v3.0
211 stars 38 forks source link

Request: allow alternate setup tools name #19

Closed mdeguzis closed 8 years ago

mdeguzis commented 8 years ago

Hi.

I used stdeb to convert/Debianize setuptools-git from PyPi. I can modify this line at build time, but if the module can be dynamically search/sourced that would be nice. Just a thought, as I'm not an expert with python. My module is "setuptools_git" not "setuptools"

from setuptools import find_packages

Produced packages from stedeb:

http://packages.libregeek.org/steamos-tools/pool/main/s/setuptools-git/

Tool:

https://pypi.python.org/pypi/stdeb/0.8.5#id34

Other:

https://pypi.python.org/pypi/setuptools-git/1.1 notes not to use both distutils.core and setuptools

To activate this plugin, you must first package your python module with setup.py and use setuptools. The former is well documented in the distutils manual.

To use setuptools instead of distutils, just edit setup.py and change:

from distutils.core import setup to:

from setuptools import setup, find_packages

mdeguzis commented 8 years ago

I think I found my issue with the Debianized package but the last part about distutils should be looked at.