1 Star 0 Fork 0

刘华/donkeycar

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.py 3.17 KB
一键复制 编辑 原始数据 按行查看 历史
Tawn Kramer 提交于 2019-08-06 11:19 . version bump to 3.1.0
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'])),
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ursaminor68/donkeycar.git
git@gitee.com:ursaminor68/donkeycar.git
ursaminor68
donkeycar
donkeycar
dev

搜索帮助