File tree 6 files changed +41
-45
lines changed
6 files changed +41
-45
lines changed Original file line number Diff line number Diff line change 1
1
# Add any project-specific files here:
2
-
2
+ sniffio / _version.py
3
3
4
4
# Sphinx docs
5
5
docs /build /
Original file line number Diff line number Diff line change 43
43
exit 0
44
44
fi
45
45
46
- python setup.py sdist --formats=zip
47
- pip install dist/* .zip
46
+ python -m build -nsx .
47
+ pip install dist/* .tar.gz
48
48
49
49
# Actual tests
50
50
pip install -Ur test-requirements.txt
Original file line number Diff line number Diff line change
1
+ [build-system ]
2
+ requires = [" setuptools>=42.2" , " setuptools_scm[toml]>=3.4.3" ]
3
+ build-backend = " setuptools.build_meta"
4
+
5
+ [tool .setuptools_scm ]
6
+ write_to = " sniffio/_version.py"
7
+ write_to_template = " __version__ = \" {version}\"\n "
8
+
1
9
[tool .towncrier ]
2
10
package = " sniffio"
3
11
filename = " docs/source/history.rst"
Original file line number Diff line number Diff line change
1
+ [metadata]
2
+ name = sniffio
3
+ author = Nathaniel J. Smith
4
+
5
+ license = MIT OR Apache-2.0
6
+ description = Sniff out which async library your code is running under
7
+ long_description = file: README.rst
8
+ keywords = async, trio, asyncio
9
+ url = https://github.com/python-trio/sniffio
10
+ classifiers =
11
+ License :: OSI Approved :: MIT License
12
+ License :: OSI Approved :: Apache Software License
13
+ Framework :: Trio
14
+ Framework :: AsyncIO
15
+ Operating System :: POSIX :: Linux
16
+ Operating System :: MacOS :: MacOS X
17
+ Operating System :: Microsoft :: Windows
18
+ Programming Language :: Python :: 3 :: Only
19
+ Programming Language :: Python :: Implementation :: CPython
20
+ Programming Language :: Python :: Implementation :: PyPy
21
+ Intended Audience :: Developers
22
+ Development Status :: 5 - Production/Stable
23
+
24
+ [options]
25
+ packages = find:
26
+ python_requires = >=3.7
27
+ tests_require = curio
28
+
29
+ [options.package_data]
30
+ sniffio = py.typed
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments