Skip to content

Commit

Permalink
Add publish setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rnakamine committed Apr 4, 2021
1 parent eccda3f commit 20f2251
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 4 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include LICENSE
include README.md
7 changes: 7 additions & 0 deletions blobcli/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"""
blobcli
----
Command line interface for easy operation with blobs in Azure Blob Storage.
"""

__version__ = '0.0.1'
5 changes: 3 additions & 2 deletions blobcli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

import click

from .client import BlobStorageClient
from blobcli.client import BlobStorageClient
from . import __version__


def _split_path(path):
Expand Down Expand Up @@ -66,7 +67,7 @@ def local_to_container(src, dst, delete_flag=False):
os.remove(src)


@click.group()
@click.group(help='blob storage easy operation cli (v{})'.format(__version__))
def cli():
pass

Expand Down
31 changes: 29 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,36 @@
from setuptools import setup
import os

from setuptools import setup, find_packages


description = 'This is a command line interface for easy operation with blobs in Azure Blob Storage.'
long_description = description
if os.path.exists('README.md'):
long_description = open('README.md').read()

setup(
name="blobcli",
version='0.0.1',
packages=find_packages(),
author='Ryo Nakamine',
author_email='[email protected]',
url='https://github.com/rnakamine/blobcli',
description=description,
long_description=long_description,
long_description_content_type='text/markdown',
python_requires='~=3.6',
install_requires=['Click', 'azure-storage-blob'],
entry_points='''
[console_scripts]
blobcli=blobcli.cli:main
'''
''',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Operating System :: OS Independent',
],
)

0 comments on commit 20f2251

Please sign in to comment.