Skip to content

Commit ce24767

Browse files
vrdmrgavin-aguiar
andauthored
Exclude azure from package build (#381)
Similar to Azure/azure-functions-python-library#97 Excluded azure from the packages. This fixes an issue where the `azure.function` and other azure package versions do not get updated when a version is specified in the functions requirements.txt file. The reason for this is that the azure directory has an `__init__.py` file, including azure in the package build overrides the user's dependencies. Co-authored-by: gavin-aguiar <[email protected]>
1 parent 38ba9bd commit ce24767

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,12 @@ def run(self, *args, **kwargs):
2626

2727
setup(
2828
name='azure-functions-durable',
29-
packages=find_packages(exclude=("tests", "samples","scripts")),
29+
packages=find_packages(exclude=[
30+
"tests",
31+
"samples",
32+
"scripts",
33+
"azure"
34+
]),
3035
use_scm_version=True,
3136
setup_requires=['setuptools_scm'],
3237
description='Durable Functions For Python',

0 commit comments

Comments
 (0)