forked from equinor/neqsim-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
62 lines (58 loc) · 3.07 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
# --------------------( LICENSE )--------------------
# Copyright 2014-2019 by Alexis Pietak & Cecil Curry.
# See "LICENSE" for further details.
#
# --------------------( SYNOPSIS )--------------------
# Project-wide packager-agnostic configuration. Unlike all other top-level
# configuration files (e.g., "setup.py", "MANIFEST.in") specific to some
# utility in Python's package management ecosystem (e.g., "pip", "setuptools"),
# this file strictly conforms to a standards-compliant PEP and hence
# generically applies to *ALL* such utilities.
#
# Welcome to project distribution hell, where only twenty distinct files in
# twenty distinct formats suffice to distribute a single project.
#
# --------------------( SEE ALSO )--------------------
# https://snarky.ca/clarifying-pep-518
# "Clarifying PEP 518 (a.k.a. pyproject.toml)", a human-readable article
# from one of the principal authors of the "pyproject.toml" standard.
# ....................{ BUILDING }....................
[build-system]
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# WARNING: To avoid dependency conflicts between "pip", "setuptools", BETSE,
# and BETSEE, the value of this global variable *MUST* be synchronized (i.e.,
# copied) across numerous files in both codebases. Specifically, the following
# strings *MUST* be identical:
# * "betse.metadeps.SETUPTOOLS_VERSION_MIN".
# * "betsee.guimetadeps.SETUPTOOLS_VERSION_MIN".
# * The "build-backend" setting in:
# * "betse/pyproject.toml".
# * "betsee/pyproject.toml".
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# List of all Python packages required to build (i.e., install) this project
# from both codebase tarballs and binary wheels.
requires = [
'setuptools>=38.2.0',
'wheel',
]
# Explicitly notify "pip" that we leverage the top-level "setuptools"-backed
# "setup.py" script as our installation infrastructure.
#
# Note that this is explicitly required for temporary backward compatibility
# with "pip" 19.1.0, which erroneously violated PEP 51{7,8} by failing to
# fallback to a sane default value in the absence of this setting. If this
# setting is left unspecified here, "pip" 19.1.0 fails on attempting to perform
# an editable (i.e., developer-specific) install with the following error:
#
# $ pip install --user --editable .
# Obtaining file:///home/leycec/py/betse
# ERROR: Error installing 'file:///home/leycec/py/betse': editable mode is
# not supported for pyproject.toml-style projects. pip is processing this
# project as pyproject.toml-style because it has a pyproject.toml file.
# Since the project has a setup.py and the pyproject.toml has no
# "build-backend" key for the "build_system" value, you may pass
# --no-use-pep517 to opt out of pyproject.toml-style processing. See PEP
# 517 for details on pyproject.toml-style projects.
#
# See also: https://github.com/pypa/pip/issues/6434
build-backend = 'setuptools.build_meta'