Revert requirements files. Not allowed for python package
All checks were successful
Python Package / Package (push) Successful in 23s
All checks were successful
Python Package / Package (push) Successful in 23s
This commit is contained in:
parent
19a6a9952f
commit
7ab64ce5c1
|
@ -1 +0,0 @@
|
||||||
requests
|
|
|
@ -1 +0,0 @@
|
||||||
pytest
|
|
9
setup.py
9
setup.py
|
@ -15,11 +15,6 @@ with open(PACKAGE_NAME + '/_version.py') as f:
|
||||||
del match, text
|
del match, text
|
||||||
|
|
||||||
|
|
||||||
def read_requirements(path: str = 'requirements.txt'):
|
|
||||||
with open(path) as f:
|
|
||||||
return f.read().strip().split('\n')
|
|
||||||
|
|
||||||
|
|
||||||
def get_short_description(readme: str):
|
def get_short_description(readme: str):
|
||||||
readme = re.sub(r'#+[^\n]*\n+', '', readme)
|
readme = re.sub(r'#+[^\n]*\n+', '', readme)
|
||||||
m = re.search(r'^\s*(\w+[\w\s,`]+\.)', readme)
|
m = re.search(r'^\s*(\w+[\w\s,`]+\.)', readme)
|
||||||
|
@ -40,10 +35,10 @@ setup(
|
||||||
author_email='jonjmaa@gmail.com',
|
author_email='jonjmaa@gmail.com',
|
||||||
url='https://gitfub.space/Jmaa/' + PACKAGE_NAME,
|
url='https://gitfub.space/Jmaa/' + PACKAGE_NAME,
|
||||||
packages=[PACKAGE_NAME],
|
packages=[PACKAGE_NAME],
|
||||||
install_requires=read_requirements(),
|
install_requires=['requests'],
|
||||||
extras_require={
|
extras_require={
|
||||||
'Request ratelimiting': ['requests_ratelimiter'],
|
'Request ratelimiting': ['requests_ratelimiter'],
|
||||||
'Request caching': ['requests_cache'],
|
'Request caching': ['requests_cache'],
|
||||||
'test': read_requirements('requirements_test.txt'),
|
'test': ['pytest'],
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user