Skip to content

Commit

Permalink
[REF] Rewrite setup.py to setup.cfg and pyproject.toml files
Browse files Browse the repository at this point in the history
  • Loading branch information
mccwdev committed Sep 12, 2023
1 parent ed3a9e4 commit 718f4c3
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 95 deletions.
4 changes: 2 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ build:

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
version: 3.10
install:
- requirements: docs/requirements.txt
# - requirements: requirements.txt
# - requirements: requirements.txt
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
48 changes: 47 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,48 @@
[metadata]
description-file = README.rst
name = bitcoinlib
version = 0.6.12.1
url = http://github.com/1200wd/bitcoinlib
author = 1200wd
author_email = info@1200wd.com
license= GNU3
description = Bitcoin cryptocurrency Library
long_description = file: README.rst
keywords = bitcoin library cryptocurrency wallet crypto keys segwit transactions blocks
classifiers =
Development Status :: 4 - Beta
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Intended Audience :: Developers
Intended Audience :: Financial and Insurance Industry
Intended Audience :: Science/Research
Intended Audience :: Information Technology
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Natural Language :: English
Operating System :: OS Independent
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Security :: Cryptography
Topic :: Office/Business :: Financial :: Accounting

[options]
packages = find:
zip_safe = True
include_package_data = True
install_requires =
requests >= 2.25.0
fastecdsa >= 2.2.1;platform_system!="Windows"
ecdsa >= 0.17;platform_system=="Windows"
pycryptodome >= 3.14.1
SQLAlchemy >= 1.4.28
numpy == 1.19.5;python_version<"3.9"
numpy >= 1.22.0;python_version>="3.9"

[options.entry_points]
console_scripts =
cli-wallet = bitcoinlib.tools.clw:main
clw = bitcoinlib.tools.clw:main
92 changes: 0 additions & 92 deletions setup.py

This file was deleted.

0 comments on commit 718f4c3

Please sign in to comment.