This website works better with JavaScript.
Home
Explore
Help
Sign In
jmg
/
aiosocks
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
bring in my standard testing framework... update setup.py add some
extras_require for dev, and set versions properly...
main
John-Mark Gurney
5 years ago
parent
6e4b4f4758
commit
b506b3d40c
3 changed files
with
22 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+14
-0
Makefile
+4
-0
requirements.txt
+4
-1
setup.py
+ 14
- 0
Makefile
View File
@@ -0,0 +1,14 @@
PROJNAME=aiosocks
VIRTUALENV ?= virtualenv-3.7
VRITUALENVARGS =
FILES=$(PROJNAME)/*.py tests/*.py
test:
(ls $(FILES) | entr sh -c 'python -m coverage run -m pytest && coverage report --omit=p/\* -m -i')
test-noentr:
python -m coverage run -m pytest && coverage report --omit=p/\* -m -i
env:
($(VIRTUALENV) $(VIRTUALENVARGS) p && . ./p/bin/activate && pip install -r requirements.txt)
+ 4
- 0
requirements.txt
View File
@@ -0,0 +1,4 @@
# use setup.py for dependancy info
-e .
-e .[dev]
+ 4
- 1
setup.py
View File
@@ -33,5 +33,8 @@ setup(
description='SOCKS proxy client for asyncio and aiohttp',
long_description=open("README.rst").read(),
packages=['aiosocks']
packages=['aiosocks'],
extras_require = {
'dev': [ 'aiohttp<3.0.0>=2.3.2', 'coverage', 'pytest', ],
},
)
Write
Preview
Loading…
Cancel
Save