about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2016-08-01 20:53:31 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2016-08-02 01:00:26 +0200
commitb6153c8f9cce88d6a90e08e39ad0374435672026 (patch)
treea7f12b008245f597fc695b2003aa48dce6c83f7a
parent5c7708e56806246bedf595f9202c67d9a2fc6beb (diff)
downloadnixlib-b6153c8f9cce88d6a90e08e39ad0374435672026.tar
nixlib-b6153c8f9cce88d6a90e08e39ad0374435672026.tar.gz
nixlib-b6153c8f9cce88d6a90e08e39ad0374435672026.tar.bz2
nixlib-b6153c8f9cce88d6a90e08e39ad0374435672026.tar.lz
nixlib-b6153c8f9cce88d6a90e08e39ad0374435672026.tar.xz
nixlib-b6153c8f9cce88d6a90e08e39ad0374435672026.tar.zst
nixlib-b6153c8f9cce88d6a90e08e39ad0374435672026.zip
python: add file encoding spec to run_setup.py
Newer 'mutagen' versions have a test suite that trips over missing
encoding in this file. The file is copied to source trees at build time
with the name nix_run_setup.py.
-rw-r--r--pkgs/development/python-modules/generic/run_setup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/generic/run_setup.py b/pkgs/development/python-modules/generic/run_setup.py
index d980ac7d23d4..e3a530eb0cb6 100644
--- a/pkgs/development/python-modules/generic/run_setup.py
+++ b/pkgs/development/python-modules/generic/run_setup.py
@@ -1,3 +1,5 @@
+# -*- coding: utf-8 -*-
+
 import setuptools
 import tokenize