-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
170 additions
and
191 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
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,35 +1,34 @@ | ||
import os | ||
import sys | ||
|
||
from distutils.core import setup | ||
from setuptools import find_packages | ||
|
||
from setuptools import find_packages | ||
|
||
# List of runtime dependencies required by this built package | ||
install_requires = [] | ||
if sys.version_info <= (2, 7): | ||
install_requires += ['future', 'typing'] | ||
install_requires += ['numpy', 'protobuf', 'crc32c'] | ||
install_requires += ["future", "typing"] | ||
install_requires += ["numpy", "protobuf", "crc32c"] | ||
|
||
# read the contents of README file | ||
this_directory = os.path.abspath(os.path.dirname(__file__)) | ||
with open(os.path.join(this_directory, 'README.md')) as f: | ||
with open(os.path.join(this_directory, "README.md")) as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name='tfrecord', | ||
version='1.14.5', | ||
description='TFRecord reader', | ||
name="tfrecord", | ||
version="1.14.5", | ||
description="TFRecord reader", | ||
long_description=long_description, | ||
long_description_content_type='text/markdown', | ||
author='Vahid Kazemi', | ||
author_email='[email protected]', | ||
url='https://github.com/vahidk/tfrecord', | ||
long_description_content_type="text/markdown", | ||
author="Vahid Kazemi", | ||
author_email="[email protected]", | ||
url="https://github.com/vahidk/tfrecord", | ||
packages=find_packages(), | ||
license='MIT', | ||
license="MIT", | ||
install_requires=install_requires, | ||
extras_require={ | ||
'torch': ['torch'], | ||
"torch": ["torch"], | ||
}, | ||
test_suite='tests', | ||
test_suite="tests", | ||
) |
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
Oops, something went wrong.