-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
executable file
·56 lines (52 loc) · 1.99 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Copyright (c) 2020 Seven Bridges. See LICENSE
import pathlib
import os
from datetime import datetime
from setuptools import setup, find_packages
current_path = pathlib.Path(__file__).parent
name = "sbpack"
version = open("sbpack/version.py").read().split("=")[1].strip().strip("\"")
now = datetime.utcnow()
desc_path = pathlib.Path(current_path, "Readme.md")
long_description = desc_path.open("r").read()
requirements = os.path.join(current_path, 'requirements.txt')
setup(
name=name,
version=version,
packages=find_packages(),
platforms=['POSIX', 'MacOS', 'Windows'],
python_requires='>=3.7',
install_requires=open(requirements).read().splitlines(),
entry_points={
'console_scripts': [
'sbpack = sbpack.pack:main',
'cwlpack = sbpack.pack:localpack',
'sbpull = sbpack.unpack:main',
'sbpack_nf = sbpack.noncwl.nextflow:main',
'sbpack_wdl = sbpack.noncwl.wdl:main',
'sbcopy = sbpack.noncwl.copy_app:main',
'sbmanifest = sbpack.noncwl.manifest:main',
],
},
author='Seven Bridges',
maintainer='Seven Bridges',
maintainer_email='pavle.marinkovic@velsera.com',
author_email='pavle.marinkovic@velsera.com',
description='Command line tool to upload and download CWL to and from SB powered platforms.',
long_description=long_description,
long_description_content_type="text/markdown",
include_package_data=True,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3 :: Only'
],
keywords='seven bridges cwl common workflow language'
)