Skip to content

Commit 2b02744

Browse files
committed
Create mypy_extensions package.
1 parent 7e2b3b4 commit 2b02744

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

extensions/mypy_extensions.py

Whitespace-only changes.

extensions/setup.py

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#!/usr/bin/env python
2+
3+
from distutils.core import setup
4+
5+
version = '0.1-dev'
6+
description = 'Experimental type system extensions for programs checked with the mypy typechecker.'
7+
long_description = '''
8+
Mypy Extensions
9+
===============
10+
11+
The "mypy_extensions" module defines experimental extensions to the
12+
standard "typing" module that are supported by the mypy typechecker.
13+
'''.lstrip()
14+
15+
# MyPy classifiers are copied from ../setup.py
16+
_mypy_classifiers = [
17+
'Development Status :: 2 - Pre-Alpha',
18+
'Environment :: Console',
19+
'Intended Audience :: Developers',
20+
'License :: OSI Approved :: MIT License',
21+
'Operating System :: POSIX',
22+
'Programming Language :: Python :: 3',
23+
'Programming Language :: Python :: 3.3',
24+
'Programming Language :: Python :: 3.4',
25+
'Programming Language :: Python :: 3.5',
26+
'Topic :: Software Development',
27+
]
28+
29+
classifiers = _mypy_classifiers + [
30+
# Support Python 2.7 in addition to Python 3.x
31+
'Programming Language :: Python :: 2',
32+
'Programming Language :: Python :: 2.7',
33+
]
34+
35+
setup(
36+
name='mypy_extensions',
37+
version=version,
38+
description=description,
39+
long_description=long_description,
40+
author='David Foster',
41+
author_email='[email protected]',
42+
url='http://www.mypy-lang.org/',
43+
license='MIT License',
44+
platforms=['POSIX'],
45+
py_modules=['mypy_extensions'],
46+
classifiers=classifiers,
47+
)

0 commit comments

Comments
 (0)