forked from natural/java2python
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (38 loc) · 1.28 KB
/
setup.py
File metadata and controls
44 lines (38 loc) · 1.28 KB
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""java2python: Imperfect Translation of Java Source Code to Python
This package provides tools to (imperfectly) translate Java source
code to python source code.
"""
from distutils.core import setup
classifiers = """\
Development Status :: 4 - Beta
Intended Audience :: Developers
License :: OSI Approved :: GNU General Public License (GPL)
Natural Language :: English
Operating System :: OS Independent
Operating System :: POSIX
Programming Language :: Python
Programming Language :: Java
Topic :: Software Development
Topic :: Software Development :: Code Generators
"""
doclines = __doc__.split('\n')
setup(
name = 'java2python',
version = '0.1',
description = doclines[0],
author = 'Troy Melhase',
url = 'http://code.google.com/p/java2python/',
license = 'GNU General Public License (GPL)',
packages = ['java2python', 'java2python/lib', ],
scripts = ['java2python/bin/j2py', 'java2python/bin/jast_print'],
package_data = {
'java2python/lib':['*.g', '*.txt', ],
},
classifiers = filter(None, classifiers.split('\n')),
long_description = '\n'.join(doclines[2:]),
platforms = ['any'],
download_url = 'http://code.google.com/p/java2python/downloads/list',
)