llvm--emulator/setup.py

61 lines
1.6 KiB
Python
Raw Normal View History

2017-10-30 04:30:46 +00:00
#!/usr/bin/env python3
"""
Setup configuration for llvm--emulator.
This file is incomplete
"""
from setuptools import setup
packages = ['llvm_emulator']
with open('README') as f:
long_description = f.read()
try:
# Look for a org mode header within the first 200 chars. If
# nothing is found, we just use the entire readme file as the
# description, by not updating long_description
start_index = long_description.index('\n*', 0, 200) + 1
long_description = long_description[start_index:]
except:
pass
2017-10-30 04:30:46 +00:00
setup(
name='llvm--emulator',
version='1.0.0',
description='A simple hacky emulator/debugger for LLVM--',
long_description=long_description,
2017-10-30 04:30:46 +00:00
url='https://gitlab.com/cfreksen/llvm--emulator',
author='Casper Freksen',
author_email='cfreksen@cs.au.dk',
license='GPLv3+',
classifiers=[
'Development Status :: 4 - Beta',
'Topic :: System :: Emulators',
'Topic :: Software Development :: Debuggers',
'Intended Audience :: Education',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: English',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Console'
],
keywords='llvm debugger',
packages=packages,
install_requires=[
'ply >= 3'
],
python_requires='~=3.5',
package_data={},
data_files=[],
entry_points={
'console_scripts': [
'llvm--emulator=llvm_emulator.emulator:main'
]
}
)