1 | #!/usr/bin/env python |
---|
2 | |
---|
3 | ''' |
---|
4 | Python 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 |
---|
17 | from ez_setup import use_setuptools |
---|
18 | use_setuptools() |
---|
19 | from setuptools import setup, find_packages |
---|
20 | |
---|
21 | import os, sys |
---|
22 | |
---|
23 | #sys.path.insert(0, os.path.abspath(os.path.join('src', 'APSpy'))) |
---|
24 | sys.path.insert(0, os.path.join('src', )) |
---|
25 | import bcdaqwidgets |
---|
26 | |
---|
27 | requires = ['Sphinx>=0.6'] |
---|
28 | |
---|
29 | setup( |
---|
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 | ) |
---|