代码拉取完成,页面将自动刷新
import re
from os.path import join
import setuptools
# Get version string by parsing _version.py
version_fname = join('multiobject', '_version.py')
content = open(version_fname, "rt").read()
regex = r"^__version__ = ['\"]([^'\"]*)['\"]"
match = re.search(regex, content, re.M)
if match:
version_string = match.group(1)
else:
raise RuntimeError("Unable to find version string in {}".format(version_fname))
# Get long description from README
with open("README.md", "r") as fh:
long_description = fh.read()
# Define list of packages
packages = setuptools.find_packages()
packages = [p for p in packages if p.startswith('multiobject')]
setuptools.setup(
name="multiobject", # Replace with your own username
version=version_string,
author="Andrea Dittadi",
author_email="andrea.dittadi@gmail.com",
description="Tools to generate and use multi-object datasets",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/addtt/multi-object-datasets",
packages=packages,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=[
'numpy>=1.17',
'torch>=1.4',
'tqdm',
]
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。