Skip to content

Commit

Permalink
Fixed setup.cfg and added pyproject.toml
Browse files Browse the repository at this point in the history
Co-Authored-by: dgelessus <[email protected]>
  • Loading branch information
KOLANICH and dgelessus committed Apr 13, 2022
1 parent 875bec1 commit 36f7ad0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
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 >= 38.6.0", "wheel >= 0.23.0"]
build-backend = "setuptools.build_meta"
13 changes: 8 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ name = kaitaistruct
version = attr: kaitaistruct.__version__
author = Kaitai Project
author_email = [email protected]
url = http://kaitai.io
url = https://kaitai.io
description = Kaitai Struct declarative parser generator for binary data: runtime library for Python
long_description = file: README.rst
long_description = file: README.md
long_description_content_type = text/markdown
license = MIT
keywords = kaitai, struct, construct, ksy, declarative, data structure, data format, file format, packet format, binary, parser, parsing, unpack, development
classifiers =
Expand All @@ -31,16 +32,18 @@ zip_safe = True
include_package_data = True
py_modules = kaitaistruct
python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
install_requires =
enum34; python_version < "3.4"
setup_requires =
setuptools >= 38.6.0
wheel >= 0.23.0

[bdist_wheel]
# This flag says that the code is written to work on both Python 2 and Python
# 3. If at all possible, it is good practice to do this. If you cannot, you
# will need to generate wheels for each Python version that you support.
universal=1

[build-system]
requires = ["setuptools", "wheel"]

[pycodestyle]
max-line-length = 140
statistics = True

0 comments on commit 36f7ad0

Please sign in to comment.