forked from JulienPalard/Pipe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·36 lines (31 loc) · 1.21 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
#!/usr/bin/env python
from distutils.core import setup
setup(
name = 'pipe',
py_modules = ['pipe'],
version = '1.4.1',
description = 'Module enablig a sh like infix syntax (using pipes)',
author='Julien Palard',
author_email='[email protected]',
url='https://github.com/JulienPalard/Pipe',
download_url='https://github.com/JulienPalard/Pipe/tarball/master',
long_description="""Pipe is a module enablig a sh like infix syntax (using pipes)'.
As an exemple, here is the solution for the 2nd Euler Project exercise :
"Find the sum of all the even-valued terms in Fibonacci
which do not exceed four million."
Given fib a generator of fibonacci numbers ::
euler2 = fib() | where(lambda x: x % 2 == 0)
| take_while(lambda x: x < 4000000)
| add
""",
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules"
]
)