Skip to content

Commit f5d0775

Browse files
committed
make_metadata.py: Include optimize_upip plugin into setup.py generated.
1 parent 96102e7 commit f5d0775

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

make_metadata.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
# module instead of system's.
1313
sys.path.pop(0)
1414
from setuptools import setup
15-
15+
sys.path.append("..")
16+
import optimize_upip
1617
1718
setup(name='micropython-%(dist_name)s',
1819
version='%(version)s',
@@ -24,6 +25,7 @@
2425
maintainer=%(maintainer)r,
2526
maintainer_email='[email protected]',
2627
license=%(license)r,
28+
cmdclass={'optimize_upip': optimize_upip.OptimizeUpip},
2729
%(_what_)s=[%(modules)s]%(_inst_req_)s)
2830
"""
2931

0 commit comments

Comments
 (0)