1 Star 0 Fork 0

Roc Marshal/mpu

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 832 Bytes
一键复制 编辑 原始数据 按行查看 历史
Martin Thoma 提交于 2020-08-11 17:40 +08:00 . MAINT: Add more flake8-plugins
"""mpu: Martins Python Utilities."""
# Third party
from setuptools import setup
requires_datetime = ["pytz"]
requires_image = ["Pillow"]
requires_io = ["pytz", "tzlocal"]
requires_aws = ["boto3"]
requires_tests = [
"pytest",
"pytest-cov",
"pytest-mccabe",
"pytest-flake8",
"simplejson",
]
requires_all = (
["pandas", "python-magic", "typing_extensions"]
+ requires_datetime
+ requires_image
+ requires_io
+ requires_aws
+ requires_tests
)
setup(
package_data={"mpu": ["units/currencies.csv", "data/*", "package/templates/*"]},
extras_require={
"all": requires_all,
"aws": requires_aws,
"datetime": requires_datetime,
"image": requires_image,
"io": requires_io,
"tests": requires_tests,
},
tests_require=requires_tests,
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/RocMarshal/mpu.git
git@gitee.com:RocMarshal/mpu.git
RocMarshal
mpu
mpu
master

搜索帮助