代码拉取完成,页面将自动刷新
from setuptools import setup, find_packages
import os
#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='3.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',
'moviepy',
'pandas',
'PrettyTable',
'paho-mqtt'
],
extras_require={
'pi': [
'picamera',
'Adafruit_PCA9685',
'RPi.GPIO'
],
'nano': [
'Adafruit_PCA9685',
],
'pc': [
'matplotlib',
],
'dev' : [
'pytest',
'pytest-cov',
'responses',
],
'ci': ['codecov'],
'tf': ['tensorflow>=1.9.0'],
'tf_gpu': ['tensorflow-gpu>=1.9.0'],
},
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 :: 3 - Alpha',
# 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.5',
'Programming Language :: Python :: 3.6',
],
keywords='selfdriving cars donkeycar diyrobocars',
packages=find_packages(exclude=(['tests', 'docs', 'site', 'env'])),
)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。