-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
48 lines (39 loc) · 1.22 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
38
39
40
41
42
43
44
45
46
47
48
# -*- coding: utf-8 -*-
from __future__ import (print_function, division, absolute_import, )
from sys import version_info
from setuptools import (
setup,
find_packages,
)
VERSION = '0.0.2'
with open('README.rst') as f:
LONG_DESCRIPTION = f.read()
REQUIRES = []
with open('requirements.txt') as f:
REQUIRES.extend(l.strip() for l in f.readlines())
if version_info[0] == 2:
with open('requirements_27.txt') as f:
REQUIRES.extend(l.strip() for l in f.readlines())
REQUIRES = [r for r in REQUIRES if r]
setup(
name='masala',
version=VERSION,
packages=find_packages(),
install_requires=REQUIRES,
author='OGURA_Daiki',
author_email='[email protected]',
license='MIT',
url='https://github.com/hachibeeDI/masala',
description='curry functional patternpatch linq',
long_description=LONG_DESCRIPTION,
classifiers='''
Programming Language :: Python
Development Status :: 4 - Beta
License :: OSI Approved :: MIT License
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Utilities
'''.strip().splitlines())