File: setup.py

package info (click to toggle)
cwlformat 2021.01.05-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 828 kB
  • sloc: python: 199; sh: 8; makefile: 3
file content (36 lines) | stat: -rw-r--r-- 1,055 bytes parent folder | download
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='kaushik.ghose@sbgenomics.com',
    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.16.12",
    ],
    extras_require={':python_version<"3.7"': ['importlib-resources']},
)