59 lines
1.7 KiB
Python
59 lines
1.7 KiB
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
try:
|
|
from setuptools import setup
|
|
except ImportError:
|
|
from distutils.core import setup
|
|
|
|
|
|
with open('README.rst') as readme_file:
|
|
readme = readme_file.read()
|
|
|
|
with open('HISTORY.rst') as history_file:
|
|
history = history_file.read()
|
|
|
|
requirements = [
|
|
# TODO: put package requirements here
|
|
]
|
|
|
|
test_requirements = [
|
|
# TODO: put package test requirements here
|
|
]
|
|
|
|
setup(
|
|
name='polyloader',
|
|
version='0.1.0',
|
|
description="Importlib shim that enables mixed syntax in Python packages and executables.",
|
|
long_description=readme + '\n\n' + history,
|
|
author='Kenneth M. "Elf" Sternberg',
|
|
author_email='elf.sternberg@gmail.com',
|
|
url='https://github.com/elfsternberg/polyloader',
|
|
packages=[
|
|
'py-polymorphic-loader',
|
|
],
|
|
package_dir={'polyloader': 'polyloader'},
|
|
include_package_data=True,
|
|
install_requires=requirements,
|
|
license="MIT",
|
|
zip_safe=False,
|
|
keywords='polyloader, import, pkgutil, importlib',
|
|
classifiers=[
|
|
'Development Status :: 2 - Pre-Alpha',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: MIT License (MIT)',
|
|
'Operating System :: OS Independent',
|
|
'Natural Language :: English',
|
|
'Programming Language :: Python :: 2',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.3',
|
|
'Programming Language :: Python :: 3.4',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Topic :: Software Development :: Libraries :: Python Modules'
|
|
],
|
|
test_suite='tests',
|
|
tests_require=test_requirements
|
|
)
|