-
Notifications
You must be signed in to change notification settings - Fork 976
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python-stdlib/datetime: add new module
- Loading branch information
Showing
8 changed files
with
1,177 additions
and
6,184 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
srctype = cpython | ||
type = module | ||
version = 2.0.0 | ||
author = Lorenzo Cappelletti |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
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 sdist_upip | ||
|
||
setup( | ||
name="micropython-datetime", | ||
version="2.0.0", | ||
description="datetime 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-lib", | ||
author="micropython-lib Developers", | ||
author_email="micro-python@googlegroups.com", | ||
maintainer="micropython-lib Developers", | ||
maintainer_email="micro-python@googlegroups.com", | ||
license="MIT", | ||
cmdclass={"sdist": sdist_upip.sdist}, | ||
py_modules=["datetime"], | ||
) |
Oops, something went wrong.