forked from elarivie/pyReaderWriterLock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (44 loc) · 1.69 KB
/
setup.py
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
"""Setup."""
import pathlib
from setuptools import setup, find_packages # type: ignore [import]
def read(fname: str) -> str:
"""Get the content of a file at the root of the project."""
return pathlib.Path(pathlib.Path(__file__).parent, fname).read_text(encoding="utf-8").strip()
setup(
name=read("NAME"),
packages=find_packages(),
version=read("VERSION"),
author="Éric Larivière",
author_email="[email protected]",
maintainer="Éric Larivière",
url="https://github.com/elarivie/pyReaderWriterLock",
download_url="https://github.com/elarivie/pyReaderWriterLock",
description="A python implementation of the three Reader-Writer problems.",
long_description_content_type="text/markdown",
long_description=read("README.md"),
license="MIT",
keywords=["rwlock", "read-write lock", "lock", "priority", "reader", "writer", "fair", "read", "write", "thread", "synchronize"],
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 5 - Production/Stable",
# Indicate who your project is intended for
"Intended Audience :: Developers",
# Pick your license as you wish (should match "license" above)
"License :: OSI Approved :: MIT License",
# Specify the Python versions supported here:
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8"
],
project_urls={
"Source": "https://github.com/elarivie/pyReaderWriterLock",
"Tracker": "https://github.com/elarivie/pyReaderWriterLock/issues"
},
install_requires=["typing_extensions"],
python_requires=">=3.6",
zip_safe=False,
package_data={"readerwriterlock": ["py.typed"]}
)