Skip to content

Commit 8d9da75

Browse files
authored
Merge pull request #11 from hmallen/pep621-compliant-style
Pep621 compliant style
2 parents 67bf03e + 2ad3740 commit 8d9da75

3 files changed

Lines changed: 37 additions & 30 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up Python 3.8
19+
- name: Set up Python 3.11
2020
uses: actions/setup-python@v2
2121
with:
22-
python-version: 3.8
22+
python-version: 3.11
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip

pyproject.toml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[build-system]
2+
requires = ["setuptools>=77", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "numpyencoder"
7+
version = "0.3.2"
8+
description = "Python JSON encoder for handling Numpy data types."
9+
readme = { file = "README.md", content-type = "text/markdown" }
10+
11+
requires-python = ">=3.6"
12+
license = "MIT"
13+
license-files = ["LICENSE"]
14+
15+
authors = [
16+
{ name = "Hunter M. Allen", email = "allenhm@gmail.com" },
17+
]
18+
19+
keywords = ["numpy", "json", "encoder"]
20+
21+
classifiers = [
22+
"Programming Language :: Python :: 3",
23+
"Operating System :: OS Independent",
24+
]
25+
26+
dependencies = [
27+
"numpy>=1.14.3",
28+
"packaging>=20.0",
29+
]
30+
31+
[project.urls]
32+
Homepage = "https://github.com/hmallen/numpyencoder"
33+
34+
[tool.setuptools.packages.find]
35+
include = ["numpyencoder*"]

setup.py

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)