forked from vmalloc/emport
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
28 lines (25 loc) · 927 Bytes
/
setup.py
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
import os
import sys
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), "emport", "__version__.py")) as version_file:
exec(version_file.read()) # pylint: disable=W0122
_INSTALL_REQUIERS = []
if sys.version_info < (2, 7):
_INSTALL_REQUIERS.append("importlib")
setup(name="emport",
classifiers = [
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
],
description="Utility library for performing programmatic imports",
license="BSD",
author="Rotem Yaari",
author_email="[email protected]",
version=__version__, # pylint: disable=E0602
packages=find_packages(exclude=["tests"]),
url="https://github.com/vmalloc/emport",
install_requires=_INSTALL_REQUIERS,
scripts=[],
namespace_packages=[]
)