mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
deploy-ng: Add option to specify a different requirements.txt file for pip
This commit is contained in:
parent
af57eac463
commit
04e4817667
@ -29,6 +29,7 @@ class Distribution(distutils.dist.Distribution):
|
||||
self.exclude_paths = []
|
||||
self.exclude_modules = []
|
||||
self.deploy_platforms = []
|
||||
self.requirements_path = './requirements.txt'
|
||||
distutils.dist.Distribution.__init__(self, attrs)
|
||||
|
||||
|
||||
@ -76,7 +77,7 @@ class build(distutils.command.build.build):
|
||||
pip.main(args=[
|
||||
'download',
|
||||
'-d', whldir,
|
||||
'-r', 'requirements.txt',
|
||||
'-r', self.distribution.requirements_path,
|
||||
'--only-binary', ':all:',
|
||||
'--platform', platform,
|
||||
])
|
||||
|
Loading…
x
Reference in New Issue
Block a user