fixes for the pip installer - version 3.2.1 nepi-3.2.1-pypi
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 21 Apr 2015 14:34:27 +0000 (16:34 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 21 Apr 2015 14:34:27 +0000 (16:34 +0200)
VERSION
setup.py

diff --git a/VERSION b/VERSION
index a3ec5a4..e4604e3 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.2
+3.2.1
index 988b4bc..7821ac9 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,6 @@
 from distutils.core import setup
 import sys
 
-
 with open('VERSION') as f:
     version_tag = f.read().strip()
 with open("COPYING") as f:
@@ -11,6 +10,8 @@ with open("COPYING") as f:
 with open("README") as f:
     long_description = f.read()
 
+data_files = [ ('/etc/nepi', [ 'VERSION', 'COPYING', 'README' ] ) ]
+
 setup(
     name             = "nepi",
     version          = version_tag,
@@ -22,6 +23,7 @@ setup(
     download_url     = "http://build.onelab.eu/nepi/nepi-{v}.tar.gz".format(v=version_tag),
     url              = "http://nepi.inria.fr/",
     platforms        = "Linux, OSX",
+    data_files       = data_files,
     package_dir      = {"": "src"},
     packages         = [
         "nepi",