This repository has been archived by the owner on Dec 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
53 lines (48 loc) · 1.48 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
"""
Babelian
--------
Babelian is a dictionary on command-line.
You can search some words/phrases/examples without running WebBrowser.
This program will help Developers/Students/Teachers,
or who learns 2nd languages.
Links
`````
* Guide : https://github.com/memnoth/babelian
* Github : https://github.com/memnoth/babelian
"""
# -*- coding: utf-8 -*-
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
ext_path = os.path.join(os.path.dirname(__file__), 'bin/wrds')
ver_line = [line for line in open(ext_path) if line.startswith('__version__')]
__ver__ = ver_line[0].split('=')[1].strip().replace('\'', '')
setup(
name='Babelian',
version=__ver__,
url='https://github.com/memnoth/babelian',
license='MIT',
author='Yi Soo, (Jeff) An',
author_email='[email protected]',
description='Babelian is a dictionary on command-line.',
long_description=__doc__,
zip_safe=False,
include_package_data=True,
platforms='any',
packages=['babelian'],
scripts=['bin/wrds'],
classifiers=[
'Environment :: Console',
'Intended Audience :: Education',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Topic :: Education',
],
)