-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
88 lines (78 loc) · 2.78 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
## This file created and used instead of setup.py for building and installing ads package. This change is to
## follow best practive to "not invoke setup.py directly", see detailed explanation why here:
## https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html.
## Check README-development.md and Makefile for instruction how to install or build ADS locally.
[build-system]
# These are the assumed default build requirements from pip:
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
# PEP 517 – A build-system independent format for source trees - https://peps.python.org/pep-0517/
requires = ["flit-core >= 3.8"]
build-backend = "flit_core.buildapi"
[project]
# Declaring project metadata
# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
# PEP 621 – Storing project metadata in pyproject.toml - https://peps.python.org/pep-0621/
# PEP 518 – Specifying Minimum Build System Requirements for Python Projects https://peps.python.org/pep-0518/
# Required
name = "ocifs" # the install (PyPI) name
version = "1.3.1"
# Optional
description = "Convenient filesystem interface over Oracle Cloud's Object Storage"
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.6"
license = {file = "LICENSE.txt"}
authors = [
{name = "Oracle Cloud Infrastructure Data Science"}
]
maintainers = [
{name = "Allen Hosler", email = "allen.hosler@oracle.com"}
]
keywords = [
"Oracle Cloud Infrastructure",
"OCI",
"Object Storage",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Universal Permissive License (UPL)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
]
# PEP 508 – Dependency specification for Python Software Packages - https://peps.python.org/pep-0508/
# In dependencies se "<library>; platform_machine == 'aarch64'" to specify ARM underlying platform
# Copied from install_requires list in setup.py, setup.py got removed in favor of this config file
dependencies = [
"fsspec>=0.8.7",
"oci>=2.43.1",
"requests",
]
[project.urls]
"Github" = "https://github.com/oracle/ocifs"
"Documentation" = "https://ocifs.readthedocs.io/en/latest/index.html"
# Configuring Ruff (https://docs.astral.sh/ruff/configuration/)
[tool.ruff]
fix = true
[tool.ruff.lint]
exclude = ["*.yaml", "*jinja2"]
# rules - https://docs.astral.sh/ruff/rules/
select = [
# pyflakes
"F",
# subset of the pycodestyle
"E4", "E7", "E9",
# warnings
"W",
# isort
"I"
]
ignore = [
# module level import not at top of file
"E402",
# line-length violations
"E501",
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]