Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor for better alignment, annotation and a bit smaller. #948

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
31 changes: 14 additions & 17 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@
README = open('README.rst', 'r').read()

install_requires = [
'configparser; python_version<"3.0"',
'future>=0.14.0; python_version<"3"',
'backports.functools_lru_cache; python_version<"3.2"',
'jedi>=0.17.2,<0.18.0',
'python-jsonrpc-server>=0.4.0',
'pluggy',
'ujson<=2.0.3 ; platform_system!="Windows" and python_version<"3.0"',
'ujson>=3.0.0 ; python_version>"3"']
'configparser; python_version<"3.0"', 'future>=0.14.0; python_version<"3"',
'backports.functools_lru_cache; python_version<"3.2"',
'jedi>=0.17.2,<0.18.0', 'python-jsonrpc-server>=0.4.0', 'pluggy',
'ujson<=2.0.3 ; platform_system!="Windows" and python_version<"3.0"',
'ujson>=3.0.0 ; python_version>"3"'
]

setup(
name='python-language-server',
Expand All @@ -24,14 +22,11 @@
# https://packaging.python.org/en/latest/single_source_version.html
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),

description='Python Language Server for the Language Server Protocol',

long_description=README,

# The project's main homepage.
url='https://github.com/palantir/python-language-server',

author='Palantir Technologies, Inc.',

# You can just specify the packages manually here if your project is
Expand Down Expand Up @@ -68,14 +63,16 @@
'pycodestyle': ['pycodestyle>=2.6.0,<2.7.0'],
'pydocstyle': ['pydocstyle>=2.0.0'],
'pyflakes': ['pyflakes>=2.2.0,<2.3.0'],
'pylint': [
'pylint>=2.5.0' if sys.version_info.major >= 3 else 'pylint'],
'pylint':
['pylint>=2.5.0' if sys.version_info.major >= 3 else 'pylint'],
'rope': ['rope>0.10.5'],
'yapf': ['yapf'],
'test': ['versioneer',
'pylint>=2.5.0' if sys.version_info.major >= 3 else 'pylint',
'pytest', 'mock', 'pytest-cov', 'coverage', 'numpy', 'pandas',
'matplotlib', 'pyqt5;python_version>="3"', 'flaky'],
'test': [
'versioneer',
'pylint>=2.5.0' if sys.version_info.major >= 3 else 'pylint',
'pytest', 'mock', 'pytest-cov', 'coverage', 'numpy', 'pandas',
'matplotlib', 'pyqt5;python_version>="3"', 'flaky'
],
},

# To provide executable scripts, use entry points in preference to the
Expand Down