3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-26 20:52:45 +01:00

Update dependency definitions

- Make cachetools a hard dependency - closes #648
- Mark unidecode as an optional dependency for Relay - #561
This commit is contained in:
James Lu 2019-06-24 15:03:51 -07:00
parent 61ca8dd781
commit 729abbd6bf
2 changed files with 5 additions and 4 deletions

View File

@ -42,9 +42,10 @@ If you are a developer and want to help make PyLink more portable, patches are w
* Setuptools (`pip3 install setuptools`) * Setuptools (`pip3 install setuptools`)
* PyYAML (`pip3 install pyyaml`) * PyYAML (`pip3 install pyyaml`)
* cachetools (`pip3 install cachetools`)
* *For hashed password support*: Passlib >= 1.7.0 (`pip3 install passlib`) * *For hashed password support*: Passlib >= 1.7.0 (`pip3 install passlib`)
* *For better PID file tracking (i.e. removing stale PID files after a crash)*: psutil (`pip3 install psutil`) * *For Unicode support in Relay*: unidecode (`pip3 install Unidecode`)
* *For the servprotect plugin*: cachetools (`pip3 install cachetools`) * *For extended PID file tracking (i.e. removing stale PID files after a crash)*: psutil (`pip3 install psutil`)
2) Clone the repository: `git clone https://github.com/jlu5/PyLink && cd PyLink` 2) Clone the repository: `git clone https://github.com/jlu5/PyLink && cd PyLink`

View File

@ -82,12 +82,12 @@ setup(
], ],
keywords='IRC services relay', keywords='IRC services relay',
install_requires=['pyyaml'], install_requires=['pyyaml', 'cachetools'],
extras_require={ extras_require={
'password-hashing': ['passlib>=1.7.0'], 'password-hashing': ['passlib>=1.7.0'],
'cron-support': ['psutil'], 'cron-support': ['psutil'],
'servprotect': ['cachetools'], 'relay-unicode': ['unidecode'],
}, },
# Folders (packages of code) # Folders (packages of code)