Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
Cleanup the python packaging for Conductor client
Browse files Browse the repository at this point in the history
  • Loading branch information
nkamath-nflx committed Aug 17, 2019
1 parent 754794f commit 252efe2
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 47 deletions.
5 changes: 5 additions & 0 deletions client/python/.gitignore
@@ -1 +1,6 @@
.pytest_cache
.eggs/
.setupmeta.version
dist/
build/
*.egg-info/
13 changes: 13 additions & 0 deletions client/python/LICENSE
@@ -0,0 +1,13 @@
Copyright 2017 Netflix, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
2 changes: 1 addition & 1 deletion client/python/README.md
Expand Up @@ -7,7 +7,7 @@ Python client for Conductor provides two sets of functions:
## Install

```shell
pip install conductor
pip install nflx-conductor
```

## Using Workflow Management API
Expand Down
11 changes: 11 additions & 0 deletions client/python/classifiers.txt
@@ -0,0 +1,11 @@
Development Status :: 4 - Beta
Intended Audience :: Developers
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 2.7
Topic :: Workflow
Topic :: Microservices
Topic :: Orchestration
Topic :: Internet
Topic :: Software Development :: Libraries :: Python Modules
Topic :: System :: Networking
8 changes: 3 additions & 5 deletions client/python/conductor/__init__.py
Expand Up @@ -12,8 +12,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
__version__ = '1.0.0'
VERSION = tuple(map(int, __version__.split('.')))

__all__ = ['conductor','ConductorWorker']
#
from conductor import *
__all__ = ['conductor', 'ConductorWorker']
1 change: 1 addition & 0 deletions client/python/requirements.txt
@@ -0,0 +1 @@
requests
46 changes: 5 additions & 41 deletions client/python/setup.py
@@ -1,45 +1,9 @@
#
# Copyright 2017 Netflix, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
from setuptools import setup

setup(
name = 'conductor',
packages = ['conductor'], # this must be the same as the name above
version = '1.0.0',
description = 'Conductor python client',
author = 'Viren Baraiya',
author_email = 'vbaraiya@netflix.com',
url = 'https://github.com/netflix/conductor',
download_url = 'https://github.com/Netflix/conductor/releases',
keywords = ['conductor'],
license = 'Apache 2.0',
install_requires = [
'requests',
],
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
'Topic :: Workflow',
'Topic :: Microservices',
'Topic :: Orchestration',
'Topic :: Internet',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Networking'
],
name="nflx-conductor",
description="Conductor Python Client",
setup_requires="setupmeta",
versioning="dev",
url="https://github.com/netflix/conductor"
)

0 comments on commit 252efe2

Please sign in to comment.