diff options
| author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2021-02-07 15:35:24 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-07 16:35:24 -0500 |
| commit | ebde3be7ef92658bfbc322476a6f2604f41639fb (patch) | |
| tree | a911a88076aa7221fe214003fae41ec4a5c2cf8a /setup.py | |
| parent | 2c11ad53c07179e03ea2f60813cb52d83f766292 (diff) | |
| download | cryptography-3.4.1.tar.gz | |
3.4.1 fixes and changelog bump (#5761)3.4.1
* Try to assist folks having issues with older pips (#5757)
* Try to assist folks having issues with older pips
* Update setup.py
* Update setup.py
* fix import cycle with asymmetricpadding (#5758)
* fix import cycle with asymmetricpadding
* Update src/cryptography/hazmat/primitives/_asymmetric.py
* bump for 3.4.1
Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -10,7 +10,21 @@ import sys from setuptools import find_packages, setup -from setuptools_rust import RustExtension +try: + from setuptools_rust import RustExtension +except ImportError: + print( + """ + =============================DEBUG ASSISTANCE========================== + If you are seeing an error here please try the following to + successfully install cryptography: + + Upgrade to the latest pip and try again. This will fix errors for most + users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip + =============================DEBUG ASSISTANCE========================== + """ + ) + raise base_dir = os.path.dirname(__file__) |
