Skip to content

Commit

Permalink
math: Add placeholder module.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfalcon committed Dec 14, 2017
1 parent c327850 commit 0137449
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions math/metadata.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
srctype = dummy
type = module
version = 0.0.0
20 changes: 20 additions & 0 deletions math/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import sys
# Remove current dir from sys.path, otherwise setuptools will peek up our
# module instead of system's.
sys.path.pop(0)
from setuptools import setup
sys.path.append("..")
import optimize_upip

setup(name='micropython-math',
version='0.0.0',
description='Dummy math module for MicroPython',
long_description='This is a dummy implementation of a module for MicroPython standard library.\nIt contains zero or very little functionality, and primarily intended to\navoid import errors (using idea that even if an application imports a\nmodule, it may be not using it onevery code path, so may work at least\npartially). It is expected that more complete implementation of the module\nwill be provided later. Please help with the development if you are\ninterested in this module.',
url='https://github.com/micropython/micropython-lib',
author='MicroPython Developers',
author_email='[email protected]',
maintainer='MicroPython Developers',
maintainer_email='[email protected]',
license='MIT',
cmdclass={'optimize_upip': optimize_upip.OptimizeUpip},
py_modules=['math'])

0 comments on commit 0137449

Please sign in to comment.