Ignore:
Timestamp:
Oct 15, 2013 8:22:10 PM (9 years ago)
Author:
jemian
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bcdaqwidgets/trunk/setup.py

    r1395 r1443  
    3131        version=bcdaqwidgets.__version__,
    3232        description=bcdaqwidgets.__description__,
     33        long_description = bcdaqwidgets.__long_description__,
    3334        author=', '.join(bcdaqwidgets.__authors__),
    3435        author_email=bcdaqwidgets.__author_email__,
    3536        url=bcdaqwidgets.__url__,
    36         packages=bcdaqwidgets.__all__,
     37        packages=['bcdaqwidgets', 'bcdaqwidgets_demos', ],
    3738        license = bcdaqwidgets.__license__,
    38         long_description = bcdaqwidgets.__long_description__,
    3939        package_dir={
    40                      'bcdaqwidgets':  os.path.join('src', 'bcdaqwidgets'),
    41                      },
    42         copyright = bcdaqwidgets.__copyright__,
     40            'bcdaqwidgets':        os.path.join('src', 'bcdaqwidgets'),
     41            'bcdaqwidgets_demos':  os.path.join('src', 'bcdaqwidgets_demos'),
     42        },
    4343        platforms='any',
    4444        zip_safe=False,
     
    5656            'Topic :: Utilities',
    5757        ],
     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      },
    5865     )
Note: See TracChangeset for help on using the changeset viewer.