From 04285ea426ce747b3fd81092a5bb3ca918a25a58 Mon Sep 17 00:00:00 2001 From: Navin Pai Date: Tue, 14 Aug 2018 04:04:26 +0530 Subject: [PATCH] [MINOR] Fixing typos --- README.md | 2 +- setup.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e4584c0..87178c5 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ ---- -## What's New in s4cmd 2.0 +## What's New in s4cmd 2.x - Fully migrated from old boto 2.x to new [boto3](http://boto3.readthedocs.io/en/latest/reference/services/s3.html) library, which provides more reliable and up-to-date S3 backend. - Support S3 `--API-ServerSideEncryption` along with **36 new API pass-through options**. See API pass-through options section for complete list. diff --git a/setup.py b/setup.py index 979f15d..a7d1e6d 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ Super S3 command line tool, setup.py """ -import os, stat, path +import os, stat from setuptools import setup, find_packages from setuptools.command.install import install as _install @@ -31,8 +31,8 @@ __maintainer__ = "Navin Pai, Naveen Vardhi" __status__ = "Development" -this_directory = path.abspath(path.dirname(__file__)) -with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: +this_directory = os.path.abspath(os.path.dirname(__file__)) +with open(os.path.join(this_directory, 'README.md')) as f: long_description = f.read() class install(_install): @@ -45,7 +45,7 @@ def run(self): author=__author__, license=__license__, long_description=long_description, - long_description_content_type='text/markdown' + long_description_content_type='text/markdown', url='https://github.com/bloomreach/s4cmd', py_modules=['s4cmd'], scripts=['s4cmd.py'], # Added s4cmd.py as script for backward compatibility