source: bcdaqwidgets/trunk/setup.py @ 1443

Last change on this file since 1443 was 1443, checked in by jemian, 10 years ago

figured out how to create and install starter scripts using setup.py

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision Url
File size: 2.0 KB
Line 
1#!/usr/bin/env python
2
3'''
4Python project installation setup for BcdaQWidgets
5'''
6
7########### SVN repository information ###################
8# $Date: 2013-10-16 01:22:10 +0000 (Wed, 16 Oct 2013) $
9# $Author: jemian $
10# $Revision: 1443 $
11# $URL$
12# $Id: setup.py 1443 2013-10-16 01:22:10Z jemian $
13########### SVN repository information ###################
14
15
16#from distutils.core import setup
17from ez_setup import use_setuptools
18use_setuptools()
19from setuptools import setup, find_packages
20
21import os, sys
22
23#sys.path.insert(0, os.path.abspath(os.path.join('src', 'APSpy')))
24sys.path.insert(0, os.path.join('src', ))
25import bcdaqwidgets
26
27requires = ['Sphinx>=0.6']
28
29setup(
30        name=bcdaqwidgets.__project__,
31        version=bcdaqwidgets.__version__,
32        description=bcdaqwidgets.__description__,
33        long_description = bcdaqwidgets.__long_description__,
34        author=', '.join(bcdaqwidgets.__authors__),
35        author_email=bcdaqwidgets.__author_email__,
36        url=bcdaqwidgets.__url__,
37        packages=['bcdaqwidgets', 'bcdaqwidgets_demos', ],
38        license = bcdaqwidgets.__license__,
39        package_dir={
40            'bcdaqwidgets':        os.path.join('src', 'bcdaqwidgets'),
41            'bcdaqwidgets_demos':  os.path.join('src', 'bcdaqwidgets_demos'),
42        },
43        platforms='any',
44        zip_safe=False,
45        classifiers=[
46            'Development Status :: 4 - Beta',
47            'Environment :: Console',
48            'Environment :: Web Environment',
49            'Intended Audience :: Science/Research',
50            'License :: Free To Use But Restricted',
51            'Operating System :: OS Independent',
52            'Programming Language :: Python',
53            'Topic :: Scientific/Engineering',
54            'Topic :: Software Development :: Embedded Systems',
55            'Topic :: Software Development :: Libraries :: Python Modules',
56            'Topic :: Utilities',
57        ],
58      entry_points={
59          # create & install launchers in <python>/bin
60          'console_scripts':[
61              'pvview = bcdaqwidgets_demos.pvview:main',
62              'pyside_probe = bcdaqwidgets_demos.pyside_probe:main',
63          ]
64      },
65     )
Note: See TracBrowser for help on using the repository browser.