setup.py 879 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env python
  2. from setuptools import setup
  3. from pathlib import Path
  4. this_directory = Path(__file__).parent
  5. long_description = (this_directory / "README.md").read_text()
  6. setup(
  7. name='cashu-protocol',
  8. version='0.0.1',
  9. description="Rust implementation of cashu.",
  10. long_description=long_description,
  11. long_description_content_type='text/markdown',
  12. include_package_data = True,
  13. zip_safe=False,
  14. packages=['cashu_protocol'],
  15. package_dir={'cashu_protocol': './src/cashu'},
  16. package_data={'cashu_protocol': ['*.so', 'lib*']},
  17. url="https://github.com/thesimplekid/cashu-crab",
  18. author="thesimplekid <tsk@thesimplekid.com>",
  19. license="BSD-3-Clause",
  20. # This is required to ensure the library name includes the python version, abi, and platform tags
  21. # See issue #350 for more information
  22. has_ext_modules=lambda: True,
  23. )