def main():
base_dir = dirname(__file__)
install_requires = open('requirements.txt').read().splitlines()
with open('hashdd/version', 'r', encoding='utf-8') as config_py:
version = re.search(r'^\s+__version__\s*=\s*[\'"]([^\'"]*)[\'"]', config_py.read(), re.MULTILINE).group(1)
setup(
name='hashdd',
version=version,
description='Official hashdd Python SDK',
long_description=open(join(base_dir, 'README.md'), encoding='utf-8').read(),
author='hashdd',
url='https://www.hashdd.com',
packages=find_packages(exclude=['bin', 'docs', 'libs']),
package_data={ 'hashdd': copy_libs() },
#zip_safe=False,
scripts=['bin/hashdd'],
install_requires=install_requires,
classifiers=CLASSIFIERS,
keywords=['hashdd', 'pyhashdd', 'hash database'],
license=open('LICENSE').read()
)
评论列表
文章目录