move package config to setup.cfg

also set eth-account requirement version to 0.5.4
pull/22/head
gabriel pettier 3 years ago
parent 099274bec1
commit 81be225cf6
  1. 40
      setup.cfg
  2. 46
      setup.py

@ -0,0 +1,40 @@
[metadata]
license = MIT
name = pyhmy
keywords = Harmony, blockchain, protocol
description = A library for interacting and working the Harmony blockchain and related codebases.
long_description = file: README.md
long_description_content_type = text/markdown
author = Daniel Van Der Maden
author_email = daniel@harmony.one
url = http://harmony.one/
[options]
packages = find:
use_incremental = True
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Developers
Topic :: Software Development :: Build Tools
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
install_requires =
pexpect
requests
incremental
eth-rlp
eth-account == 0.5.4
eth-utils
hexbytes
cytoolz
setup_requires =
incremental
pytest
pytest-ordering
click
Twisted~=21.7.0

@ -1,45 +1,3 @@
import pathlib
from setuptools import setup, find_packages
from setuptools import setup
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text()
setup(
name='pyhmy',
use_incremental=True,
license='MIT',
description="A library for interacting and working the Harmony blockchain and related codebases.",
long_description=README,
long_description_content_type="text/markdown",
author='Daniel Van Der Maden',
author_email='daniel@harmony.one',
url="http://harmony.one/",
packages=find_packages(),
keywords=['Harmony', 'blockchain', 'protocol'],
install_requires=[
'pexpect',
'requests',
'incremental',
'eth-rlp',
'eth-account',
'eth-utils',
'hexbytes',
'cytoolz'
],
setup_requires=[
'incremental',
'pytest',
'pytest-ordering',
'click',
'twisted',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
]
)
setup()

Loading…
Cancel
Save