Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:eliostvs:tomate
tomate-indicator-plugin
_service:extract_file:setup.py
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:extract_file:setup.py of Package tomate-indicator-plugin
#!/bin/env python import os from setuptools import setup def find_xdg_data_files(syspath, relativepath, pkgname, data_files=[]): for (dirname, _, filenames) in os.walk(relativepath): if filenames: syspath = syspath.format(pkgname=pkgname) subpath = dirname.split(relativepath)[1] if subpath.startswith("/"): subpath = subpath[1:] files = [os.path.join(dirname, f) for f in filenames] data_files.append((os.path.join(syspath, subpath), files)) return data_files def find_data_files(data_map, pkgname): data_files = [] for (syspath, relativepath) in data_map: find_xdg_data_files(syspath, relativepath, pkgname, data_files) return data_files DATA_FILES = [ ("share/{pkgname}/plugins", "data/plugins"), ("share/icons", "data/icons"), ] setup( author="Elio Esteves Duarte", author_email="elio.esteves.duarte@gmail.com", description="Tomate plugin that shows the session progress in indicator.", include_package_data=True, keywords="pomodoro,tomate", license="GPL-3", long_description=open("README.md").read(), name="tomate-indicator-plugin", data_files=find_data_files(DATA_FILES, "tomate"), url="https://github.com/eliostvs/tomate-indicator-plugin", version="0.13.0", zip_safe=False, py_modules=[], )
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor