Commits

Andriy Kornatskyy committed a0f7853

Added download links for prebuilt version of optional dependencies.

Comments (0)

Files changed (1)

demos/template/setup.py

     'wheezy.web>=0.1.262',
 ]
 
+install_optional = [
+    'pylibmc>=1.2.3',
+    #'PIL>=1.1.7',
+    'lxml>=2.3.6',
+    'pycrypto>=2.6',
+]
+
+install_requires += install_optional
+
 try:
     import uuid
 except:
     install_requires.append('uuid')
 
+dependency_links=[
+    # pylibmc
+    'https://bitbucket.org/akorn/wheezy.caching/downloads',
+    # PIL
+    #'https://bitbucket.org/akorn/wheezy.captcha/downloads',
+    # lxml
+    'https://bitbucket.org/akorn/wheezy.http/downloads',
+    # pycrypto
+    'https://bitbucket.org/akorn/wheezy.security/downloads'
+]
+
 setup(
     name='mysite',
     version='0.1',
 
     zip_safe=False,
     install_requires=install_requires,
+    dependency_links=dependency_links,
     extras_require={
         'dev': [
             'coverage',