-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrading google-drive package to 0.3.3. Fixing reading README for pypi
- Loading branch information
Showing
1 changed file
with
8 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,9 @@ | |
|
||
|
||
def read(fname): | ||
return open(os.path.join(os.path.dirname(__file__), fname)).read() | ||
this_directory = pathlib.Path(__file__).parent | ||
long_description = (this_directory / fname).read_text() | ||
return long_description | ||
|
||
|
||
def read_requirements(path): | ||
|
@@ -24,9 +26,9 @@ def read_requirements(path): | |
|
||
setup( | ||
name="google-drive", | ||
version="0.3.2", | ||
version="0.3.3", | ||
author="Eduardo Garcia", | ||
author_email="[email protected]", | ||
author_email="garciaruiz.edu+maintain+[email protected]", | ||
maintainer="Eduardo García", | ||
maintainer_email="[email protected]", | ||
description=("Library and cli to manage and interact with your Google Drive"), | ||
|
@@ -38,10 +40,10 @@ def read_requirements(path): | |
extras_require={ | ||
'dev': extra_requirements_dev | ||
}, | ||
long_description=read('README.md'), | ||
long_description_content_type="text/markdown", | ||
long_description=read("README.md"), | ||
long_description_content_type='text/markdown', | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Development Status :: 5 - Production/Stable", | ||
"Topic :: Software Development :: Libraries", | ||
"License :: OSI Approved :: Apache Software License", | ||
], | ||
|