File: setup.py

package info (click to toggle)
openmotor 0.4.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,136 kB
  • sloc: python: 4,320; sh: 28; makefile: 21
file content (26 lines) | stat: -rw-r--r-- 789 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from setuptools import setup, find_packages
from uilib.fileIO import appVersionStr

try:
    from pyqt_distutils.build_ui import build_ui
    cmdclass = {'build_ui': build_ui}
except ImportError:
    print('pyqt_distutils not found, build_ui command will be unavailable')
    build_ui = None  # user won't have pyqt_distutils when deploying
    cmdclass = {}

setup(
    name='openMotor',
    version=appVersionStr,
    license='GPLv3',
    packages=find_packages(),
    url='https://github.com/reilleya/openMotor',
    description='An open-source internal ballistics simulator for rocket motor experimenters',
    long_description=open('README.md').read(),
    entry_points={
        'gui_scripts': [
            'openmotor=openmotor.main:main',
        ],
    },
    cmdclass=cmdclass
)