forked from nilp0inter/cpe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (38 loc) · 1.36 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from io import open
import os
import setuptools
BASE_DIR = os.path.dirname(__file__)
PKG_DIR = os.path.join(BASE_DIR, "cpe")
meta = {}
with open(os.path.join(PKG_DIR, "__meta__.py"), 'rb') as f:
exec(f.read(), meta)
with open(os.path.join(BASE_DIR, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
setuptools.setup(
name=meta["__packagename__"],
version=meta["__version__"],
description=meta["__summary__"],
long_description=long_description,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7"
],
keywords=meta["__keywords__"],
author=meta["__author__"],
author_email=meta["__email__"],
maintainer=meta["__maintainer__"],
maintainer_email=meta["__maintainer_email__"],
license=meta["__license__"],
url=meta["__url__"],
include_package_data=False,
packages=setuptools.find_packages(exclude=['tests', 'docs']),
)