Add missing info to setup.py

This commit is contained in:
Alessandro Molina 2015-11-22 19:25:24 +01:00
parent ad8ea997cb
commit 25bb4f604f
1 changed files with 22 additions and 1 deletions

View File

@ -1,6 +1,11 @@
import os
from distutils.core import setup, Extension
HERE = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(HERE, 'README.rst')).read()
except IOError:
README = ''
duktape = Extension('dukpy._dukpy',
define_macros=[('DUK_OPT_DEEP_C_STACK', '1')],
@ -12,9 +17,25 @@ setup(
name='dukpy',
version='0.0.1',
description='Simple JavaScript interpreter for Python',
long_description=README,
keywords='javascript compiler babeljs coffeescript',
author='Alessandro Molina',
author_email='alessandro.molina@axant.it',
url='https://github.com/amol-/dukpy',
license='MIT',
packages=['dukpy'],
ext_modules=[duktape],
package_data={
'dukpy': ['*.js'],
}
},
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 2.6',
'Programming Language :: JavaScript',
]
)