Skip to content

Commit ee6df5f

Browse files
committed
setup.py: Support building against Python 2 and Python 3
1 parent fe2b529 commit ee6df5f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@
1414
'Programming Language :: C',
1515
'Topic :: System :: Software Distribution',
1616
'Topic :: System :: Systems Administration',
17+
"Programming Language :: Python :: 2",
18+
'Programming Language :: Python :: 2.7',
1719
'Programming Language :: Python :: 3',
20+
'Programming Language :: Python :: 3.4',
21+
'Programming Language :: Python :: 3.5',
22+
'Programming Language :: Python :: 3.6',
23+
'Programming Language :: Python :: 3.7',
1824
),
19-
python_requires=">=3.5",
2025
packages=['createrepo_c'],
2126
package_dir={
2227
'createrepo_c': 'src/python'
@@ -27,7 +32,6 @@
2732
'-DCREATEREPO_C_INSTALL_DEVELOPMENT:BOOL=OFF',
2833
'-DCREATEREPO_C_INSTALL_MANPAGES:BOOL=OFF',
2934
'-DENABLE_BASHCOMP:BOOL=OFF',
30-
'-DPYTHON_DESIRED:STRING=3',
3135
],
3236
cmake_languages=['C'],
3337
entry_points={

0 commit comments

Comments
 (0)