Ensure setuptools via PEP508/518 pyproject.toml

pull/4973/head
Michael Hirsch, Ph.D 5 years ago committed by Jussi Pakkanen
parent 48e6db89ab
commit d218d52367
  1. 7
      README.md
  2. 2
      docs/markdown/Quick-guide.md
  3. 2
      pyproject.toml
  4. 4
      setup.cfg
  5. 1
      setup.py

@ -22,8 +22,11 @@ build system.
You can run Meson directly from a revision control checkout or an You can run Meson directly from a revision control checkout or an
extracted tarball. If you wish you can install it locally with the extracted tarball. If you wish you can install it locally with the
standard Python distutils command `python3 setup.py install <your standard Python command
options here>`.
```sh
python3 -m pip install meson <your options here>
```
Meson is also available from Meson is also available from
[PyPi](https://pypi.python.org/pypi/meson), so it can be installed [PyPi](https://pypi.python.org/pypi/meson), so it can be installed

@ -56,8 +56,10 @@ Install as root:
```console ```console
$ pip3 install meson $ pip3 install meson
``` ```
*If you are unsure whether to install as root or a local user, install as a local user.* *If you are unsure whether to install as root or a local user, install as a local user.*
Installation from source Installation from source
-- --
Requirements: **git** Requirements: **git**

@ -0,0 +1,2 @@
[build-system]
requires = ["setuptools", "wheel"]

@ -30,3 +30,7 @@ long_description = Meson is a cross-platform build system designed to be both as
[options] [options]
python_requires = >= 3.5.2 python_requires = >= 3.5.2
[options.extras_require]
progress =
tqdm

@ -49,7 +49,6 @@ if sys.platform != 'win32':
if __name__ == '__main__': if __name__ == '__main__':
setup(name='meson', setup(name='meson',
version=version, version=version,
extras_require={'progress': ['tqdm']},
packages=packages, packages=packages,
package_data=package_data, package_data=package_data,
entry_points=entries, entry_points=entries,

Loading…
Cancel
Save