forked from slingdata-io/sling-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·35 lines (32 loc) · 1.18 KB
/
setup.py
File metadata and controls
executable file
·35 lines (32 loc) · 1.18 KB
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
import os, sys
from setuptools import setup
from setuptools import find_packages
from sling import cli
version = cli('--version', return_output=True).strip().replace('Version: ', '')
if not version:
raise Exception('version is blank')
setup(
name='sling',
version=version,
description='Slings data from a source to a target',
author='Fritz Larco',
author_email='fritz@slingdata.io',
url='https://github.com/slingdata-io/sling-python',
download_url='https://github.com/slingdata-io/sling-python/archive/master.zip',
keywords=['sling', 'etl', 'elt', 'extract', 'load'],
packages=find_packages(exclude=['tests']),
long_description_content_type='text/markdown',
long_description=open(os.path.join(os.path.dirname(__file__),
'README.md')).read(),
include_package_data=True,
install_requires=[],
extras_require={},
entry_points={
'console_scripts': ['sling=sling:cli',],
},
classifiers=[
'Programming Language :: Python :: 3', 'Intended Audience :: Developers',
'Intended Audience :: Education', 'Intended Audience :: Science/Research',
'Operating System :: MacOS', 'Operating System :: Unix',
'Topic :: Utilities'
])