-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
62 lines (53 loc) · 1.86 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/env python
from setuptools import setup, find_packages
from pip.download import PipSession
from pip.req import parse_requirements
from mochi import __author__, __version__, __license__, GE_PYTHON_34
install_reqs = parse_requirements('requirements.txt', session=PipSession())
install_requires = [str(ir.req) for ir in install_reqs]
if not GE_PYTHON_34:
install_requires.append('pathlib>=1.0.1')
def is_windows():
from sys import platform
return platform.startswith('win') or platform.startswith('cygwin')
if is_windows():
readme = ''
else:
with open('README.rst', 'r') as f:
readme = f.read()
setup(
name='mochi',
version=__version__,
description='Dynamically typed functional programming language',
long_description=readme,
license=__license__,
author=__author__,
url='https://github.com/i2y/mochi',
platforms=['any'],
entry_points={
'console_scripts': [
'mochi = mochi.core:main'
]
},
packages=find_packages(),
package_data = {
'mochi': ['sexpressions/*',
'core/import_global_env.mochi',
'core/import_global_env_and_monkey_patch.mochi'],
},
install_requires=install_requires,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Compilers"
]
)