From dcbe68b3f9fb23ef380346201cf4d8be8864c7fe Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 22 Dec 2013 01:56:18 +0400 Subject: [PATCH] Use find_links in setup.cfg Use find_links instead of dependency_links to install m_lib. --- setup.cfg | 2 ++ setup.py | 8 +------- 2 files changed, 3 insertions(+), 7 deletions(-) create mode 100644 setup.cfg 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__ -- 2.39.2