From 66a4212d2a0bfbffce9262701d632b268e627aed Mon Sep 17 00:00:00 2001 From: kevgliss Date: Thu, 23 Jul 2015 10:22:16 -0700 Subject: [PATCH] Specifying dev version of cryptography to get support for CSR building --- setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 411a040c..3a56e73b 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ from subprocess import check_output ROOT = os.path.realpath(os.path.join(os.path.dirname(__file__))) -install_requires=[ +install_requires = [ 'Flask>=0.10.1', 'Flask-RESTful>=0.3.3', 'Flask-SQLAlchemy>=1.0.5', @@ -61,6 +61,7 @@ dev_requires = [ 'flake8>=2.0,<2.1', ] + class SmartInstall(install): """ Installs Lemur into the Python environment. @@ -75,6 +76,7 @@ class SmartInstall(install): self.run_command('build_static') install.run(self) + class DevelopWithBuildStatic(develop): def install_for_development(self): self.run_command('build_static') @@ -137,6 +139,9 @@ setup( 'aws_source = lemur.plugins.lemur_aws.plugin:AWSSourcePlugin' ], }, + dependency_links=[ + "git+ssh://git@github.com/pyca/cryptography.git@1.0.dev1#egg=cryptography-1.0.dev1" + ], classifiers=[ 'Framework :: Flask', 'Intended Audience :: Developers',