Ofek Lev
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
7 additions and
1 deletions
-
HISTORY.rst
-
MANIFEST.in
-
coincurve/py.typed
-
setup.py
|
|
@ -13,6 +13,7 @@ master |
|
|
|
- Upgrade libsecp256k1 to the latest available version |
|
|
|
- Upgrade libgmp to the latest available version |
|
|
|
- Introduce ``COINCURVE_UPSTREAM_REF`` environment variable to select an alternative libsecp256k1 version when building from source |
|
|
|
- Support PEP 561 type hints |
|
|
|
|
|
|
|
14.0.0 |
|
|
|
^^^^^^ |
|
|
|
|
|
@ -1,3 +1,4 @@ |
|
|
|
include coincurve/py.typed |
|
|
|
include setup_support.py |
|
|
|
recursive-include _cffi_build *.py *.h |
|
|
|
graft libsecp256k1 |
|
|
|
|
|
@ -226,13 +226,16 @@ class develop(_develop): |
|
|
|
_develop.run(self) |
|
|
|
|
|
|
|
|
|
|
|
package_data = {'coincurve': ['py.typed']} |
|
|
|
|
|
|
|
if BUILDING_FOR_WINDOWS: |
|
|
|
|
|
|
|
class Distribution(_Distribution): |
|
|
|
def is_pure(self): |
|
|
|
return False |
|
|
|
|
|
|
|
setup_kwargs = dict(package_data={'coincurve': ['*.dll']}, include_package_data=True) |
|
|
|
package_data['coincurve'].append('libsecp256k1.dll') |
|
|
|
setup_kwargs = dict() |
|
|
|
else: |
|
|
|
|
|
|
|
class Distribution(_Distribution): |
|
|
@ -272,6 +275,7 @@ setup( |
|
|
|
install_requires=['asn1crypto', 'cffi>=1.3.0'], |
|
|
|
|
|
|
|
packages=find_packages(exclude=('_cffi_build', '_cffi_build.*', 'libsecp256k1', 'tests')), |
|
|
|
package_data=package_data, |
|
|
|
|
|
|
|
distclass=Distribution, |
|
|
|
zip_safe=False, |
|
|
|