-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Comply with PEP 561 -- Distributing and Packaging Type Information
- Loading branch information
Jing Wang
committed
Jan 4, 2020
1 parent
cd7c708
commit ea12008
Showing
3 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
https://www.python.org/dev/peps/pep-0561/ |
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,7 @@ | |
|
||
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: | ||
long_description = readme.read() | ||
with open(os.path.join(os.path.dirname(__file__), 'pyhdfs.py')) as py: | ||
with open(os.path.join(os.path.dirname(__file__), 'pyhdfs', '__init__.py')) as py: | ||
version_match = re.search(r"__version__ = '(.+?)'", py.read()) | ||
assert version_match | ||
version = version_match.group(1) | ||
|
@@ -22,7 +22,7 @@ | |
author="Jing Wang", | ||
author_email="[email protected]", | ||
license="MIT License", | ||
py_modules=['pyhdfs'], | ||
packages=['pyhdfs'], | ||
classifiers=[ | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
|
@@ -39,5 +39,6 @@ | |
tests_require=tests_require, | ||
package_data={ | ||
'': ['*.rst'], | ||
'pyhdfs': ['py.typed'] | ||
}, | ||
) |