From 3df5927825c697dd103a2828709ac3d9711d8a9b Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Fri, 23 May 2014 01:17:53 +0300 Subject: [PATCH] collections.defaultdict: Switch to metadata.txt . --- collections.defaultdict/setup.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/collections.defaultdict/setup.py b/collections.defaultdict/setup.py index 3c8d9447..ec843ce5 100644 --- a/collections.defaultdict/setup.py +++ b/collections.defaultdict/setup.py @@ -1,10 +1,18 @@ -from distutils.core import setup +import sys +# Remove current dir from sys.path, otherwise setuptools will peek up our +# module instead of system. +sys.path.pop(0) +from setuptools import setup + setup(name='micropython-collections.defaultdict', - version='0.2', + version='0.2.1', description='collections.defaultdict module for MicroPython', + long_description="This is a module reimplemented specifically for MicroPython standard library,\nwith efficient and lean design in mind. Note that this module is likely work\nin progress and likely supports just a subset of CPython's corresponding\nmodule. Please help with the development if you are interested in this\nmodule.", url='https://github.com/micropython/micropython/issues/405', author='Paul Sokolovsky', author_email='micro-python@googlegroups.com', + maintainer='MicroPython Developers', + maintainer_email='micro-python@googlegroups.com', license='MIT', packages=['collections'])