File tree Expand file tree Collapse file tree 5 files changed +24
-1
lines changed Expand file tree Collapse file tree 5 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 1
1
from threading import Thread
2
- from mux import RWLock
2
+ from rwmutex import RWLock
3
3
from time import sleep
4
4
5
5
lock = RWLock ()
Original file line number Diff line number Diff line change
1
+ from .mux import RWLock
File renamed without changes.
Original file line number Diff line number Diff line change
1
+ import setuptools
2
+
3
+ with open ("README.md" , "r" , encoding = "utf-8" ) as fh :
4
+ long_description = fh .read ()
5
+
6
+ setuptools .setup (
7
+ name = "rwmutex" , # Replace with your own username
8
+ version = "1.0" ,
9
+ author = "Ben Godfrey" ,
10
+ author_email = "BenJetson@users.noreply.github.com" ,
11
+ description = "Provides a read/write mutex lock usable with context managers." ,
12
+ long_description = long_description ,
13
+ long_description_content_type = "text/markdown" ,
14
+ url = "https://github.com/BenJetson/py-rwmutex" ,
15
+ packages = setuptools .find_packages (),
16
+ classifiers = [
17
+ "Programming Language :: Python :: 3" ,
18
+ "License :: OSI Approved :: MIT License" ,
19
+ "Operating System :: OS Independent" ,
20
+ ],
21
+ python_requires = ">=3.6" ,
22
+ )
You can’t perform that action at this time.
0 commit comments