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
Feature: Pypi auto deployement #428
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
628552b
Works
timotheeguerin 5d971c8
Wip
timotheeguerin 4a6596f
Travis build this too
timotheeguerin 23979c1
Travis build this too
timotheeguerin d03994e
Find
timotheeguerin 2a8c974
Move aztk cli
timotheeguerin 0553b38
Move aztk cli
timotheeguerin 6d60f6d
Revert
timotheeguerin 1e2b9b7
change version
timotheeguerin 1bf8022
tweak data
timotheeguerin 44cd296
Data files
timotheeguerin e0a50af
Rename cli -> aztk_cli
timotheeguerin 06bcfc4
update version
timotheeguerin da36dd9
missing files
timotheeguerin a20e994
more
timotheeguerin e13d6ef
Finally works
timotheeguerin f6bc404
Use wheel too travis
timotheeguerin 828bec7
Move config
timotheeguerin b552e7e
Move config
timotheeguerin 6ce36b5
Update for config
timotheeguerin 96ebc6a
Only on tags
timotheeguerin 42e4197
Only on tags
timotheeguerin 7ec9231
fix cr
timotheeguerin b8851e1
update author
timotheeguerin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not exactly sure here, but does this not need to also have
python: 3.5
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no this means I only want to publish the build of version 3.6(could be 3.5 too) just picked the latest