Files
main/programming/language/python/python-chardet/actions.py
T
2018-05-22 16:57:43 +03:00

18 lines
475 B
Python
Executable File

#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import pisitools
def build():
pythonmodules.compile()
def install():
pythonmodules.install()
pisitools.rename("/usr/bin/chardetect", "chardetect-py2")
#pisitools.dodoc("AUTHORS", "BUGS", "ChangeLog", "COPYING", "NEWS", "README")