This repository was archived by the owner on Feb 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: Pypi auto deployement (#428)
- Loading branch information
1 parent
216f63d
commit c237501
Showing
54 changed files
with
114 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import aztk_cli.logger | ||
log = aztk_cli.logger.root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
...ark/endpoints/cluster/cluster_add_user.py → ...ark/endpoints/cluster/cluster_add_user.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cli/spark/endpoints/cluster/cluster_copy.py → ...i/spark/endpoints/cluster/cluster_copy.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...spark/endpoints/cluster/cluster_delete.py → ...spark/endpoints/cluster/cluster_delete.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
cli/spark/endpoints/cluster/cluster_get.py → ...li/spark/endpoints/cluster/cluster_get.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cli/spark/endpoints/cluster/cluster_list.py → ...i/spark/endpoints/cluster/cluster_list.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cli/spark/endpoints/cluster/cluster_run.py → ...li/spark/endpoints/cluster/cluster_run.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
cli/spark/endpoints/cluster/cluster_ssh.py → ...li/spark/endpoints/cluster/cluster_ssh.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...spark/endpoints/cluster/cluster_submit.py → ...spark/endpoints/cluster/cluster_submit.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
cli/spark/endpoints/job/delete.py → aztk_cli/spark/endpoints/job/delete.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
cli/spark/endpoints/job/get_app_logs.py → aztk_cli/spark/endpoints/job/get_app_logs.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
cli/spark/endpoints/job/list_apps.py → aztk_cli/spark/endpoints/job/list_apps.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ yapf==0.20.1 | |
pylint==1.8.2 | ||
pytest==3.1.3 | ||
pytest-xdist==1.22.0 | ||
twine==1.9.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,59 @@ | ||
import os | ||
from setuptools import setup, find_packages | ||
from cli import constants | ||
from aztk_cli import constants | ||
from aztk import version | ||
|
||
data_files = [] | ||
|
||
setup(name='aztk', | ||
version=version.__version__, | ||
description='Utility for data engineers or platform developers to Run distributed jobs in Azure', | ||
url='<tbd>', | ||
author='Microsoft', | ||
author_email='[email protected]', | ||
license='MIT', | ||
packages=find_packages(), | ||
scripts=[ | ||
# 'bin/aztk', | ||
], | ||
entry_points=dict( | ||
console_scripts=[ | ||
"{0} = cli.entrypoint:main".format(constants.CLI_EXE) | ||
] | ||
), | ||
zip_safe=False) | ||
|
||
def find_package_files(root, directory, dest=""): | ||
paths = [] | ||
for (path, _, filenames) in os.walk(os.path.join(root, directory)): | ||
for filename in filenames: | ||
paths.append(os.path.relpath(os.path.join(dest, path, filename), root)) | ||
return paths | ||
|
||
|
||
with open('README.md') as fd: | ||
long_description = fd.read() | ||
|
||
setup( | ||
name='aztk', | ||
version=version.__version__, | ||
description='On-demand, Dockerized, Spark Jobs on Azure (powered by Azure Batch)', | ||
long_description=long_description, | ||
url='https://github.com/Azure/aztk', | ||
author='Microsoft', | ||
author_email='[email protected]', | ||
license='MIT', | ||
packages=find_packages(exclude=["tests"]), | ||
install_requires=[ | ||
"azure-batch==3.0.0", | ||
"azure-mgmt-batch==5.0.0", | ||
"azure-mgmt-storage==1.5.0", | ||
"azure-storage==0.33.0", | ||
"pyyaml>=3.12", | ||
"pycryptodome>=3.4", | ||
"paramiko>=2.4", | ||
], | ||
package_data={ | ||
'aztk': find_package_files("", "node_scripts", ".."), | ||
'aztk_cli': find_package_files("aztk_cli", "config"), | ||
}, | ||
scripts=[], | ||
entry_points=dict(console_scripts=["{0} = aztk_cli.entrypoint:main".format(constants.CLI_EXE)]), | ||
zip_safe=False, | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
], | ||
project_urls={ | ||
'Documentation': 'https://github.com/Azure/aztk/wiki/', | ||
'Source': 'https://github.com/Azure/aztk/', | ||
'Tracker': 'https://github.com/Azure/aztk/issues', | ||
}, | ||
python_requires='>=3.5', | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters