Skip to content

Commit

Permalink
Drop support for Python <2.7, simplify setup.py (#733)
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay authored Mar 29, 2024
1 parent 4f05240 commit 504bc68
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,6 @@
import sys
from setuptools import find_packages, setup

install_requires = [
'catkin_pkg >= 0.4.3',
'setuptools',
'empy < 4',
'packaging',
'python-dateutil',
'PyYAML',
'rosdep >= 0.15.0',
'rosdistro >= 0.8.0',
'vcstools >= 0.1.22',
]

# argparse got moved into the stdlib in py2.7, so we only
# need to install the pypi version if we're on an older
# python.
if sys.version_info[0] == 2 and sys.version_info[1] <= 6:
install_requires.append('argparse')

setup(
name='bloom',
Expand All @@ -34,7 +17,17 @@
'templates/*/*.em',
],
},
install_requires=install_requires,
install_requires=[
'catkin_pkg >= 0.4.3',
'setuptools',
'empy < 4',
'packaging',
'python-dateutil',
'PyYAML',
'rosdep >= 0.15.0',
'rosdistro >= 0.8.0',
'vcstools >= 0.1.22',
],
extras_require={
'test': [
'pep8',
Expand Down

0 comments on commit 504bc68

Please sign in to comment.