Alex Gaynor
02fe5a8d2d
Remove our workarounds for pyasn.1 bugs, a new pyasn.1 is out!
2015-06-22 20:45:41 -04:00
Paul Kehrer
4c287d704f
setup requires can be cffi only now
2015-06-08 00:05:53 -05:00
Paul Kehrer
68b3b1ea86
convert to cffi 1.0 precompile system
2015-06-07 23:27:54 -05:00
Paul Kehrer
71a16210c3
require idna 2.0 or better because it's better
2015-05-18 18:59:25 -07:00
Paul Kehrer
40f8338e98
Support Subject Alternative Name in the OpenSSL backend
...
Adds only DNS support first
2015-04-20 22:12:32 -05:00
Paul Kehrer
3621d70403
remove python 3.2 from the classifiers
2015-04-18 20:24:30 -05:00
Alex Gaynor
702ef6ac75
Merge pull request #1783 from reaperhulk/san-class
...
Add GeneralName and SubjectAlternativeName classes
2015-04-18 10:15:53 -04:00
Paul Kehrer
31bdf790fd
Add GeneralName and SubjectAlternativeName classes
2015-04-14 13:30:59 -04:00
Alex Gaynor
2119f74595
Simplify setup.py slightly
2015-04-13 09:50:31 -04:00
Julian Berman
4cf3811376
Remove the setuptools and CFFI requirements, which break pip install -U
...
PyPy ships with CFFI, but pip install -U will upgrade it if a newer CFFI
is available, which will break the CFFI installation (and PyPy itself).
2015-03-08 18:27:29 -04:00
Alex Gaynor
8a58e6997b
Tell py.test to only run the tests from the local tests dir.
...
Right now if you have a virtualenv or something in the same directory it will recurse into it to run tests.
2015-02-20 07:58:39 -08:00
Paul Kehrer
5bea5ca023
make enum34 installation conditional on python < 3.4
2014-12-18 07:47:34 -06:00
Paul Kehrer
a1426f0afc
initial x509 version support
...
Adds enum34 as a dependency
2014-12-15 15:49:21 -06:00
Paul Kehrer
a98f95a14e
add pyasn1 as a dependency
2014-11-27 09:55:17 -10:00
Alex Gaynor
5951f46be6
Update the license header for every source file, as well as the documentation.
...
Fixes #1209
2014-11-16 09:08:42 -08:00
Donald Stufft
c62a78c015
Move the cryptography package into a src/ subdirectory
...
Due to differences in how py.test determines which module to ``import``
the test suite actually runs against the cryptography which is in the
*current* directory instead of the cryptography which is installed. The
problem essentially boils down to when there is a tests/__init__.py then
py.test adds the current directory to the front of the sys.path, causing
it to take precedence over the installed location.
This means that running the tests relies on the implicit compile
that CFFI does instead of testing against what people will actually
be runnning, which is the module compiled by setup.py.
2014-11-13 07:56:31 -05:00
Donald Stufft
d1b70f31e7
Build FFI instance when class is created, load library when instantiated
2014-11-07 21:11:25 -05:00
Alex Gaynor
abe8bc966c
Update the license in setup.py
2014-10-31 19:28:57 -07:00
Peter Odding
97f45302f1
Fix PEP-8 violations
2014-09-29 11:44:32 -05:00
Peter Odding
6c1e9ef571
Fix for keywords_with_side_effects() (compatibility with pip metadata discovery)
...
Fixes a bug in 9e34c14b344f49d0721edc79d14ea5fc9c067d07 as described in
https://github.com/pyca/cryptography/pull/1257#issuecomment-48855243
2014-09-29 11:44:32 -05:00
Peter Odding
c9861f9bd4
Simplify dummy commands (fix inheritance, remove finalize_options())
2014-09-29 11:44:32 -05:00
Peter Odding
e9144566b6
Bullet proof (?) detection of arguments that don't need setup_requires
2014-09-29 11:44:31 -05:00
Peter Odding
dcce080527
Bug fix for implementation of dummy commands
...
Pointed out by Jenkins:
https://jenkins.cryptography.io/job/cryptography-pr-experimental/2163/
2014-09-29 11:44:31 -05:00
Peter Odding
3ae89a59ad
Replace commands that depend on setup_requires with no-op that raises error
2014-09-29 11:44:31 -05:00
Peter Odding
63ce5df833
PEP-8 fixes pointed out by Travis CI
2014-09-29 11:44:31 -05:00
Peter Odding
e327cf1f4e
Change nested dictionary literal to match house style
2014-09-29 11:44:31 -05:00
Peter Odding
51ec05fc24
Make sys.argv an argument of keywords_with_side_effects()
2014-09-29 11:44:30 -05:00
Peter Odding
c9b83f7bee
Work around for side effects in setup.py script
...
Disables setup_requires and related magic for setup.py commands
clean, egg_info and sdist and the options --version and --help.
See also https://github.com/pyca/cryptography/issues/1253
2014-09-29 11:44:00 -05:00
Alex Gaynor
e23dd3ac54
Fix?
2014-08-11 13:51:54 -07:00
Terry Chia
361545d874
Removed need for Binding entry_point
2014-07-28 12:06:54 +08:00
Terry Chia
da5dca8a92
Added entry_points.
2014-07-27 12:27:52 +08:00
Alex Gaynor
d9f9b75ad6
Check for errors when invoking the vectors setup.py
2014-07-11 10:18:24 -07:00
Paul Kehrer
d3e3df9308
use pyasn1 for creating the dss-sig-value structure
2014-04-30 11:13:17 -05:00
Alex Stapleton
707b0085cb
Fix pep8 errors for latest import linter
2014-04-20 22:24:41 +01:00
Alex Stapleton
4b610cc441
Import lint error
2014-04-20 22:05:37 +01:00
Sascha Peilicke
c549205000
Add custom 'install' command class
...
CFFIBuild adds ext_modules late in the configuration phase. However,
distutils default 'install' command also parses setup.py and thus misses
that cffi contains several extension modules rather than being pure. As
a consequence, add a CFFIInstall with a proper finalize_options method
and use it.
2014-04-01 15:19:18 +02:00
Paul Kehrer
7ad18bca37
add some comments to note the duplication between setup.py and tox.ini
2014-03-28 08:50:53 -05:00
Alex Stapleton
a39a319b09
Move cryptography.vectors to cryptography_vectors
...
All vectors are now stored in the subpackage in the vectors/ folder.
This package is automatically installed by setup.py test and will also
be uploaded with a matching version number by the PyPI upload task.
2014-03-24 09:46:47 +00:00
Alex Stapleton
0bd20e264c
cryptography.vectors
2014-03-22 16:23:46 +00:00
Paul Kehrer
8443a92f9f
revert one import order change
2014-03-19 13:09:40 -04:00
Paul Kehrer
afc1ccdcc8
import order fixes for future automated checking
2014-03-19 11:49:32 -04:00
Alex Gaynor
7f8b277661
We support 3.4
2014-03-17 10:22:41 -07:00
Alex Gaynor
c37feed731
Added future imports and licenses that are missing
2014-03-08 08:32:56 -08:00
Alex Gaynor
6858cd42e0
The worst.
2014-03-04 15:33:13 -08:00
Alex Gaynor
acac6a6ed5
Follow the rules
2014-03-04 15:24:03 -08:00
koobs
066718022e
And again. Remove whitespace (pep8)
2014-02-25 19:35:48 +11:00
koobs
23690dd8f8
pep8: Add import (sys) and newline
2014-02-25 19:35:48 +11:00
koobs
92a4cdbd92
Add new lines (pep8) and use full sentences
2014-02-25 19:35:48 +11:00
koobs
ff0dd1e000
Integrate py.test enabling python setup.py test
...
Integrate py.test according to: https://pytest.org/latest/goodpractises.html#integration-with-setuptools-test-commands
Enables use of standard python setup.py test command.
Very handy for OS packagers & porters for QA, in this case the FreeBSD Port for cryptography which just landed.
2014-02-25 19:35:48 +11:00
Paul Kehrer
5b6ce2a63a
some style fixes suggested by pep8-naming
2014-02-24 20:16:10 -06:00