#!/usr/bin/env python |
#!/usr/bin/env python |
|
|
"""Distutils setup file""" |
"""Distutils setup file""" |
|
|
import ez_setup |
import ez_setup |
ez_setup.use_setuptools() |
ez_setup.use_setuptools() |
from setuptools import setup |
from setuptools import setup |
|
|
# Metadata |
# Metadata |
PACKAGE_NAME = "BytecodeAssembler" |
PACKAGE_NAME = "BytecodeAssembler" |
PACKAGE_VERSION = "0.4" |
PACKAGE_VERSION = "0.5" |
PACKAGES = ['peak', 'peak.util'] |
PACKAGES = ['peak', 'peak.util'] |
|
|
def get_description(): |
def get_description(): |
description='Generate Python code objects by "assembling" bytecode' |
description='Generate Python code objects by "assembling" bytecode' |
' (Now includes a functional/AST-oriented API, too!)', |
' (Now includes a functional/AST-oriented API, too!)', |
long_description = get_description(), |
long_description = get_description(), |
|
|
author="Phillip J. Eby", |
author="Phillip J. Eby", |
author_email="peak@eby-sarna.com", |
author_email="peak@eby-sarna.com", |
license="PSF or ZPL", |
license="PSF or ZPL", |
install_requires = ['DecoratorTools>=1.2', 'SymbolType>=1.0'], |
install_requires = ['DecoratorTools>=1.2', 'SymbolType>=1.0'], |
test_suite = 'test_assembler', |
test_suite = 'test_assembler', |
|
|
packages = PACKAGES, |
packages = PACKAGES, |
namespace_packages = PACKAGES, |
namespace_packages = PACKAGES, |
) |
) |