Browse Source

Add some additional requirement options

feature/storage
Andrei 8 years ago
parent
commit
281e686232
  1. 2
      requirements-optional.txt
  2. 6
      setup.py

2
requirements-optional.txt

@ -1,2 +0,0 @@
pynacl==1.1.2
youtube-dl==2017.4.17

6
setup.py

@ -16,6 +16,11 @@ with open('requirements.txt') as f:
with open('README.md') as f: with open('README.md') as f:
readme = f.read() readme = f.read()
extras_require = {
'voice': ['pynacl==1.1.2'],
'performance': ['erlpack==0.3.2'],
}
setup( setup(
name='disco-py', name='disco-py',
author='b1nzy', author='b1nzy',
@ -27,6 +32,7 @@ setup(
long_description=readme, long_description=readme,
include_package_data=True, include_package_data=True,
install_requires=requirements, install_requires=requirements,
extras_require=extras_require,
test_suite='setup.run_tests', test_suite='setup.run_tests',
classifiers=[ classifiers=[
'Development Status :: 4 - Beta', 'Development Status :: 4 - Beta',

Loading…
Cancel
Save