File: setup.py

package info (click to toggle)
ros-rosdistro 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 724 kB
  • sloc: python: 4,125; makefile: 38; xml: 22
file content (62 lines) | stat: -rwxr-xr-x 2,203 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env python3

import os

from setuptools import find_packages, setup

kwargs = {
    'name': 'rosdistro',
    # same version as in:
    # - src/rosdistro/__init__.py
    # - stdeb.cfg
    'version': '1.0.1',
    'install_requires': ['PyYAML'],
    'setup_requires': ['setuptools'],
    'python_requires': '>=3.6',
    'packages': find_packages('src'),
    'package_dir': {'': 'src'},
    'entry_points': {
        'console_scripts': [
            # 'rosdistro = rosdistro.cli.rosdistro:main',
            'rosdistro_build_cache = rosdistro.cli.rosdistro_build_cache:main',
            'rosdistro_freeze_source = rosdistro.cli.rosdistro_freeze_source:main',
            # 'rosdistro_convert = rosdistro.cli.rosdistro_convert:main',
            # 'rosdistro_generate_cache = rosdistro.cli.rosdistro_generate_cache:main',
            'rosdistro_migrate_to_rep_141 = rosdistro.cli.rosdistro_migrate_to_rep_141:main',
            'rosdistro_migrate_to_rep_143 = rosdistro.cli.rosdistro_migrate_to_rep_143:main',
            'rosdistro_reformat = rosdistro.cli.rosdistro_reformat:main'
        ]},
    'extras_require': {
        'test': [
            'pytest',
        ]},
    'author': 'Wim Meeussen, Dirk Thomas',
    'author_email': 'wim@hidof.com, dthomas@osrfoundation.org',
    'maintainer': 'ROS Infrastructure Team',
    'url': 'http://wiki.ros.org/rosdistro',
    'project_urls': {
        'Source code':
        'https://github.com/ros-infrastructure/rosdistro',
        'Issue tracker':
        'https://github.com/ros-infrastructure/rosdistro/issues',
    },
    'keywords': ['ROS'],
    'classifiers': [
        'Programming Language :: Python',
        'License :: OSI Approved :: BSD License',
        'License :: OSI Approved :: MIT License'],
    'description': 'A tool to work with rosdistro files',
    'long_description': 'A tool to work with rosdistro files',
    'license': 'BSD, MIT'
}

if 'SKIP_PYTHON_MODULES' in os.environ:
    kwargs['packages'] = []
    kwargs['package_dir'] = {}
elif 'SKIP_PYTHON_SCRIPTS' in os.environ:
    kwargs['name'] += '_modules'
    kwargs['entry_points'] = {}
else:
    kwargs['install_requires'] += ['catkin_pkg', 'rospkg']

setup(**kwargs)