1 Star 0 Fork 0

优麒麟 / ubuntukylin-wallpapers

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.py 729 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhangchao 提交于 2016-10-06 14:32 . init from 16.04
from distutils.core import setup
from DistUtilsExtra.command import *
import glob
import re
import os
# look/set what version we have
changelog = "debian/changelog"
if os.path.exists(changelog):
head=open(changelog).readline()
match = re.compile(".*\((.*)\).*").match(head)
if match:
version = match.group(1)
setup(
name = 'ubuntukylin-wallpapers',
version = version,
data_files=[('share/backgrounds', glob.glob('*.png')+glob.glob('*.jpg')),
('share/backgrounds/ubuntukylin', glob.glob('ubuntukylin/*.xml')),
('share/glib-2.0/schemas',glob.glob('*.override')),
],
cmdclass = { "build" : build_extra.build_extra,
"build_i18n" : build_i18n.build_i18n }
)
1
https://gitee.com/ubuntukylin/ubuntukylin-wallpapers.git
git@gitee.com:ubuntukylin/ubuntukylin-wallpapers.git
ubuntukylin
ubuntukylin-wallpapers
ubuntukylin-wallpapers
master

搜索帮助