File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -174,16 +174,17 @@ def setup_base(self):
174
174
shutil .rmtree (version_path )
175
175
self .build_env .run (
176
176
'conda' ,
177
+ 'env' ,
177
178
'create' ,
178
179
'--yes' ,
179
180
'--name' ,
180
181
self .version .slug ,
181
- 'python={python_version}' .format (python_version = self .config .python_version ),
182
+ '--file' ,
183
+ self .config .conda_file ,
182
184
bin_path = None , # Don't use conda bin that doesn't exist yet
183
185
)
184
186
185
187
def install_core_requirements (self ):
186
- conda_env_path = os .path .join (self .project .doc_path , 'conda' )
187
188
188
189
# Use conda for requirements it packages
189
190
requirements = [
@@ -231,7 +232,6 @@ def install_core_requirements(self):
231
232
)
232
233
233
234
def install_user_requirements (self ):
234
- conda_env_path = os .path .join (self .project .doc_path , 'conda' )
235
235
self .build_env .run (
236
236
'conda' ,
237
237
'env' ,
You can’t perform that action at this time.
0 commit comments