-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
29 lines (25 loc) · 875 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
from setuptools import setup
import os
def find_stubs(package):
stubs = []
for root, dirs, files in os.walk(package):
for file in files:
path = os.path.join(root, file).replace(package + os.sep, '', 1)
stubs.append(path)
return {package: stubs}
setup(
name='docutils-stubs',
version='0.0.22',
description='PEP 561 type stubs for docutils',
long_description=open('README.rst').read(),
classifiers=['License :: OSI Approved :: The Unlicense (Unlicense)'],
license='Unlicense',
url='https://github.com/tk0miya/docutils-stubs',
author='Takeshi KOMIYA, cocoatomo',
author_email='i.tkomiya@gmail.com, cocoatomo77@gmail.com',
packages=['docutils-stubs'],
install_requires=['docutils>=0.14'],
python_requires=">=3.5",
package_data=find_stubs('docutils-stubs'),
zip_safe=False,
)