-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (46 loc) · 1.49 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from mochi import __author__, __version__, __license__, IS_PYTHON_34
install_requires = ['rply>=0.7.2',
'pyrsistent>=0.6.3',
'greenlet>=0.4.5',
'eventlet>=0.15.2']
if not IS_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.mochi:main'
]
},
packages=find_packages(),
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",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development :: Compilers"
]
)