Skip to content

Commit ace6dd3

Browse files
Merge pull request #169 from riyazpanjwani/main
Migrating to toml setup
2 parents afcf41b + ed4f70a commit ace6dd3

File tree

3 files changed

+35
-26
lines changed

3 files changed

+35
-26
lines changed

.github/workflows/ci-release-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
pip install -r requirements.txt
2121
pip install -r docs/requirements.txt
2222
- name: Sphinx Api Docs
23-
run: sphinx-apidoc -F -H "App Store Server Library" -A "Apple Inc." -V "0.2.1" -e -a -o _staging . tests setup.py
23+
run: sphinx-apidoc -F -H "App Store Server Library" -A "Apple Inc." -V "0.2.1" -e -a -o _staging . tests pyproject.toml
2424
- name: Spinx build
2525
run: sphinx-build -b html _staging _build
2626
- name: Upload docs

pyproject.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Copyright (c) 2025 Apple Inc. Licensed under MIT License.
2+
3+
[build-system]
4+
requires = ["setuptools>=61.0", "wheel"]
5+
build-backend = "setuptools.build_meta"
6+
7+
[project]
8+
name = "app-store-server-library"
9+
version = "1.9.0"
10+
description = "The App Store Server Library"
11+
readme = {file = "README.md", content-type = "text/markdown"}
12+
license = {text = "MIT"}
13+
requires-python = ">=3.7, <4"
14+
classifiers = [
15+
"License :: OSI Approved :: MIT License"
16+
]
17+
dependencies = [
18+
"attrs>=21.3.0",
19+
"PyJWT>=2.6.0,<3",
20+
"requests>=2.28.0,<3",
21+
"cryptography>=40.0.0",
22+
"pyOpenSSL>=23.1.1",
23+
"asn1==2.8.0",
24+
"cattrs>=23.1.2",
25+
]
26+
27+
[project.optional-dependencies]
28+
async = ["httpx"]
29+
30+
[tool.setuptools]
31+
packages = {find = {exclude = ["tests"]}}
32+
33+
[tool.setuptools.package-data]
34+
appstoreserverlibrary = ["py.typed"]

setup.py

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

0 commit comments

Comments
 (0)