Skip to content

Commit 1b15746

Browse files
committed
cppman: add requirements.txt
1 parent 5b75dd3 commit 1b15746

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ include bin/*
22
include cppman/*
33
include cppman/formatter/*
44
include misc/*
5+
include requirements.txt
56
include README.rst
67
include AUTHORS
78
include COPYING

requirements.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
beautifulsoup4==4.13.3
2+
bs4==0.0.2
3+
html5lib==1.1
4+
lxml==5.3.2
5+
six==1.17.0
6+
soupsieve==2.6
7+
typing_extensions==4.13.1
8+
webencodings==0.5.1

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
('share/fish/vendor_completions.d/', ['misc/completions/fish/cppman.fish'])
1717
]
1818

19+
with open('requirements.txt') as f:
20+
_requirements = f.read().splitlines()
21+
1922
setup(
2023
name = 'cppman',
2124
version = '0.5.7',
@@ -28,7 +31,7 @@
2831
package_data = {'cppman': _package_data},
2932
data_files = _data_files,
3033
scripts = ['bin/cppman'],
31-
install_requires=['beautifulsoup4', 'html5lib'],
34+
install_requires=_requirements,
3235
classifiers = [
3336
'Programming Language :: Python :: 3.5',
3437
'Programming Language :: Python :: 3.6',

0 commit comments

Comments
 (0)