-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
36 lines (32 loc) · 1.03 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- coding: utf-8 -*-
import pathlib
from setuptools import setup, find_packages
current_path = pathlib.Path(__file__).parent
ver_path = pathlib.Path(current_path, "cwlformat", "version.py")
_ver = {}
exec(ver_path.open("r").read(), _ver)
version = _ver["__version__"]
readme = pathlib.Path(current_path, "Readme.md").read_text()
setup(
name='cwlformat',
python_requires='>=3.6.0',
version=version,
description='A prettifier for CWL code',
long_description=readme,
long_description_content_type="text/markdown",
author='Kaushik Ghose',
author_email='[email protected]',
url='https://github.com/rabix/cwl-format',
packages=find_packages(exclude=('tests', 'docs')),
entry_points={
'console_scripts': [
'cwl-format=cwlformat.formatter:main',
'cwl-explode=cwlformat.explode:main'
],
},
include_package_data=True,
install_requires=[
"ruamel.yaml >= 0.17.23",
],
extras_require={':python_version<"3.7"': ['importlib-resources']},
)