Changeset 405:9e8a43ae8550
- Timestamp:
- 06/04/08 12:42:20
(2 years ago)
- Author:
- Brian Warner <warner@allmydata.com>
- branch:
- default
- Message:
setup.py: declare a feature-dependency on pyOpenSSL. Addresses #66.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r404 |
r405 |
|
| 1 | 1 | 2008-06-04 Brian Warner <warner@allmydata.com> |
|---|
| | 2 | |
|---|
| | 3 | * setup.py: add an "extras_require" clause to the |
|---|
| | 4 | setuptools-specific setup args, to declare that our |
|---|
| | 5 | "secure_connections" feature requires pyOpenSSL. This helps other |
|---|
| | 6 | packages, which can declare a dependency on |
|---|
| | 7 | "Foolscap[secure_connections]", rather than claiming to require |
|---|
| | 8 | pyOpenSSL themselves. Addresses #66. |
|---|
| 2 | 9 | |
|---|
| 3 | 10 | * foolscap/pb.py (Tub.registerReference): fix an exception that |
|---|
| r383 |
r405 |
|
| 60 | 60 | else: |
|---|
| 61 | 61 | setup_args['install_requires'] = ['twisted >= 2.4.0'] |
|---|
| | 62 | setup_args['extras_require'] = { 'secure_connections' : ["pyOpenSSL"] } |
|---|
| | 63 | # note that pyOpenSSL-0.6 causes unit test failures, see bug #62 |
|---|
| 62 | 64 | |
|---|
| 63 | 65 | if __name__ == '__main__': |
|---|