Skip to content

Commit

Permalink
Merge 54f3686 into 3afcfcc
Browse files Browse the repository at this point in the history
  • Loading branch information
kshpytsya committed May 7, 2019
2 parents 3afcfcc + 54f3686 commit 5953f24
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion setup.py
@@ -1,9 +1,27 @@
#!/usr/bin/env python

import fnmatch
import os
from setuptools import setup, find_packages

import ast


def rglob(top, pat, strip=0):
matches = []

for root, dirnames, filenames in os.walk(top):
if strip:
stripped_root = os.path.sep.join(root.split(os.path.sep)[strip:])
else:
stripped_root = root

for filename in fnmatch.filter(filenames, pat):
matches.append(os.path.join(stripped_root, filename))

return matches


__AUTHOR__ = 'David Halter'
__AUTHOR_EMAIL__ = 'davidhalter88@gmail.com'

Expand Down Expand Up @@ -40,7 +58,9 @@
'colorama',
],
},
package_data={'jedi': ['evaluate/compiled/fake/*.pym']},
package_data={
'jedi': ['evaluate/compiled/fake/*.pym'] + rglob('jedi/third_party/typeshed', '*.pyi', 1)
},
platforms=['any'],
classifiers=[
'Development Status :: 4 - Beta',
Expand Down

0 comments on commit 5953f24

Please sign in to comment.