]> git.phdru.name Git - mimedecode.git/commitdiff
Use find_links in setup.cfg
authorOleg Broytman <phd@phdru.name>
Sat, 21 Dec 2013 21:56:18 +0000 (01:56 +0400)
committerOleg Broytman <phd@phdru.name>
Sat, 21 Dec 2013 21:56:18 +0000 (01:56 +0400)
Use find_links instead of dependency_links to install m_lib.

setup.cfg [new file with mode: 0644]
setup.py

diff --git a/setup.cfg b/setup.cfg
new file mode 100644 (file)
index 0000000..6247c10
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,2 @@
+[easy_install]
+find_links = http://phdru.name/Software/Python/
index d1c825767d494b3468b9c41e8403043ab65cd5e6..f98336b3a7ea9b40d9d3bc0623527e26914db642 100755 (executable)
--- 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__