Skip to content
Snippets Groups Projects
Commit 8dcabe3f authored by Shachar Ohana's avatar Shachar Ohana
Browse files

#250 - Fixed dep installation for python2

parent 0f157378
No related branches found
No related tags found
No related merge requests found
import sys
from __future__ import with_statement
from setuptools import setup
 
# Do not update the version manually - it is managed by `bumpversion`.
version = '2.0.1rc'
 
REQUIRES = [
'snowballstemmer',
'six',
]
# Python3 to Python2 backport support.
if sys.version_info[0] == 2:
REQUIRES.append('configparser == 3.5.0')
setup(
name='pydocstyle',
version=version,
Loading
Loading
@@ -25,11 +38,7 @@ setup(
packages=('pydocstyle',),
package_dir={'': 'src'},
package_data={'pydocstyle': ['data/*.txt']},
install_requires=[
'snowballstemmer',
'six',
'configparser;python_version<"3.3"',
],
install_requires=REQUIRES,
entry_points={
'console_scripts': [
'pydocstyle = pydocstyle.cli:main',
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment