Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 66 lines (56 sloc) 1.93 KB
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import io
from os import path
from setuptools import find_packages, setup
root_dir = path.dirname(__file__)
# Read a file and return its as a string
def read(file_name):
return io.open(path.join(root_dir, file_name)).read()
name = 'sls'
version = read(path.join('sls', 'version.py')).split("'")[1].strip()
description = read('README.md')
short_description = ('SLS is the Storyscript Language Server. It provides '
'common editor features like completion to its clients.')
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: Plugins',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Other Scripting Engines',
'Topic :: Office/Business',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Code Generators',
]
requirements = [
'python-jsonrpc-server==0.1.2',
'storyscript==0.22.1',
'asyncy-hub==0.0.1',
'click==7.0',
'click-alias==0.1.1a2',
]
setup(name=name,
version=version,
description=short_description,
long_description=description,
long_description_content_type='text/markdown',
classifiers=classifiers,
download_url=('https://github.com/storyscript/sls/archive/'
f'{version}.zip'),
keywords='storyscript language server vscode asyncy',
author='Storyscript',
author_email='support@storyscript.io',
url='https://storyscript.io',
license='Apache 2.0',
packages=find_packages(),
include_package_data=True,
zip_safe=True,
install_requires=requirements,
python_requires='>=3.6',
entry_points={
'console_scripts': ['sls=sls.cli:Cli.main']
})
You can’t perform that action at this time.