[pytango] 337/483: setting up setup script

Sandor Bodo-Merle sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.

commit 02b2cd9b48a013eda028a6625d31d0f4f3e8fc7a
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date:   Fri Dec 6 08:22:32 2013 +0000

    setting up setup script
    
    git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@24481 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
 ssetup.py | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/ssetup.py b/ssetup.py
new file mode 100644
index 0000000..0570a0d
--- /dev/null
+++ b/ssetup.py
@@ -0,0 +1,31 @@
+# ------------------------------------------------------------------------------
+# This file is part of PyTango (http://www.tinyurl.com/PyTango)
+#
+# Copyright 2006-2012 CELLS / ALBA Synchrotron, Bellaterra, Spain
+# Copyright 2013-2014 European Synchrotron Radiation Facility, Grenoble, France
+#
+# Distributed under the terms of the GNU Lesser General Public License,
+# either version 3 of the License, or (at your option) any later version.
+# See LICENSE.txt for more info.
+# ------------------------------------------------------------------------------
+
+from ez_setup import use_setuptools
+use_setuptools()
+
+import setuptools
+import setup
+
+
+def main():
+    sargs = setup.setup_args()
+    sargs['entry_points'] = {
+        "console_scripts": [
+            "itango = PyTango.ipython:run",
+        ],
+    }
+    dist = setuptools.setup(**sargs)
+    return dist
+
+
+if __name__ == "__main__":
+    main()

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git



More information about the debian-science-commits mailing list