1 Star 0 Fork 0

耀轩之/kindle_maker

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
setup.py 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
Jachin Lin 提交于 2020-08-06 18:17 . Create python-publish.yml
#!/usr/bin/env python
# coding=utf-8
from setuptools import setup
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
class bdist_wheel(_bdist_wheel):
def finalize_options(self):
_bdist_wheel.finalize_options(self)
self.root_is_pure = False
def get_tag(self):
python, abi, plat = _bdist_wheel.get_tag(self)
# We don't contain any python source
python, abi = 'py2.py3', 'none'
return python, abi, plat
version = '1.0.4'
setup(
name='kindle_maker',
version=version,
author='jachinlin',
author_email='linjx1000@gmail.com',
url='https://github.com/jachinlin/kindle_maker',
description='a tool make kindle mobi ebook',
license='MIT',
keywords='kindle ebook mobi',
packages=['kindle_maker'],
package_data={'kindle_maker': [
'templates/*',
'bin/linux/kindlegen',
'bin/mac/kindlegen'
]},
install_requires=[
'Jinja2'
],
entry_points={
'console_scripts': [
'make_mobi=kindle_maker:make_mobi_command',
],
},
cmdclass={'bdist_wheel': bdist_wheel}
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yaoxuanzhi/kindle_maker.git
git@gitee.com:yaoxuanzhi/kindle_maker.git
yaoxuanzhi
kindle_maker
kindle_maker
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385