-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (26 loc) · 1.33 KB
/
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
30
31
32
33
34
35
36
37
from setuptools import setup
setup(name='fsquery',
version='0.3.0',
description='File System Query. Working with the file system is too verbose. Let\'s make it more like JQuery.',
long_description="""File System Query.
Working with the file system is too verbose.
FSQuery provides a way of thinking about the file system inspired by JQuery.
An FSQuery is created from a particular director with a number of terms added as modifiers.
A simple example :
from fsquery import FSQuery
fsq = FSQuery("/home/myaccount").NoFollow(".git").Ext(".py").FileOnly()
for n in fsq :
print(n.abs)
This FSQuery searches all directories under /home/myaccount, except directories with ".git" in their name.
It matches files with a ".py" extension. And the FileOnly() suppresses returning directories.
See more documentation on the [README on GitHub](https://github.com/interstar/FSQuery).
""",
long_description_content_type='text/markdown',
url='https://github.com/interstar/FSQuery',
author='Phil Jones',
author_email='[email protected]',
license='MIT',
packages=['fsquery'],
classifiers=['Development Status :: 3 - Alpha',
'Intended Audience :: Developers'],
zip_safe=False)