From: Oleg Broytman Date: Sat, 21 Dec 2013 21:56:18 +0000 (+0400) Subject: Use find_links in setup.cfg X-Git-Tag: v2.3.2~42 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=dcbe68b3f9fb23ef380346201cf4d8be8864c7fe;p=mimedecode.git Use find_links in setup.cfg Use find_links instead of dependency_links to install m_lib. --- diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..6247c10 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[easy_install] +find_links = http://phdru.name/Software/Python/ diff --git a/setup.py b/setup.py index d1c8257..f98336b 100755 --- a/setup.py +++ b/setup.py @@ -11,13 +11,7 @@ except ImportError: kw = {} if is_setuptools: - kw['setup_requires'] = ['m_lib'] - kw['install_requires'] = ['m_lib'] - kw['dependency_links'] = [ - 'http://phdru.name/Software/Python/#egg=m_lib', - 'git+http://git.phdru.name/m_lib.git#egg=m_lib', - 'git+git://git.phdru.name/m_lib.git#egg=m_lib', - ] + kw['install_requires'] = ['m_lib>=2.0'] from mimedecode_version import __version__, __copyright__, __license__