Skip to content

Commit bfacaec

Browse files
committed
Fixed setup.cfg and added pyproject.toml
1 parent c56bf6b commit bfacaec

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools >= 36.7.0", "wheel >= 0.23.0"]
3+
build-backend = "setuptools.build_meta"

setup.cfg

+7-5
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name = kaitaistruct
33
version = attr: kaitaistruct.__version__
44
author = Kaitai Project
55
author_email = greycat@kaitai.io
6-
url = http://kaitai.io
6+
url = https://kaitai.io
77
description = Kaitai Struct declarative parser generator for binary data: runtime library for Python
8-
long_description = file: README.rst
8+
long_description = file: README.md
99
license = MIT
1010
keywords = kaitai, struct, construct, ksy, declarative, data structure, data format, file format, packet format, binary, parser, parsing, unpack, development
1111
classifiers =
@@ -31,16 +31,18 @@ zip_safe = True
3131
include_package_data = True
3232
py_modules = kaitaistruct
3333
python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
34+
install_requires =
35+
enum34; python_version < "3.4"
36+
setup_requires =
37+
setuptools >= 36.7.0
38+
wheel >= 0.23.0
3439

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

41-
[build-system]
42-
requires = ["setuptools", "wheel"]
43-
4446
[pycodestyle]
4547
max-line-length = 140
4648
statistics = True

0 commit comments

Comments
 (0)