Ai
1 Star 0 Fork 0

deeplearningrepos/donkeycar

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 3.19 KB
一键复制 编辑 原始数据 按行查看 历史
Rahul Ravikumar 提交于 2021-01-04 10:17 +08:00 . Donkey 4.x is now official (#723)
import os
from setuptools import find_packages, setup
# include the non python files
def package_files(directory, strip_leading):
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
package_file = os.path.join(path, filename)
paths.append(package_file[len(strip_leading):])
return paths
car_templates = ['templates/*']
web_controller_html = package_files('donkeycar/parts/controllers/templates',
'donkeycar/')
extra_files = car_templates + web_controller_html
print('extra_files', extra_files)
with open("README.md", "r") as fh:
long_description = fh.read()
setup(name='donkeycar',
version='4.1.0',
long_description=long_description,
description='Self driving library for python.',
url='https://github.com/autorope/donkeycar',
author='Will Roscoe, Adam Conway, Tawn Kramer',
author_email='wroscoe@gmail.com, adam@casaconway.com, tawnkramer@gmail.com',
license='MIT',
entry_points={
'console_scripts': [
'donkey=donkeycar.management.base:execute_from_command_line',
],
},
install_requires=[
'numpy',
'pillow',
'docopt',
'tornado',
'requests',
'h5py',
'PrettyTable',
'paho-mqtt',
"simple_pid",
'progress',
'typing_extensions',
'pyfiglet'
],
extras_require={
'pi': [
'picamera',
'Adafruit_PCA9685',
'Adafruit_SSD1306',
'RPi.GPIO',
'pyserial',
],
'nano': [
'Adafruit_PCA9685',
'Adafruit_SSD1306',
'RPi.GPIO'
],
'pc': [
'matplotlib',
'imgaug',
],
'dev': [
'pytest',
'pytest-cov',
'responses',
'mypy'
],
'ci': ['codecov'],
'tf': ['tensorflow>=2.2.0'],
'torch': [
'pytorch>=1.7.1',
'torchvision',
'torchaudio'
],
'mm1': ['pyserial']
},
package_data={
'donkeycar': extra_files,
},
include_package_data=True,
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
keywords='selfdriving cars donkeycar diyrobocars',
packages=find_packages(exclude=(['tests', 'docs', 'site', 'env'])),
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/deeplearningrepos/donkeycar.git
git@gitee.com:deeplearningrepos/donkeycar.git
deeplearningrepos
donkeycar
donkeycar
master

搜索帮助