-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
67 lines (61 loc) · 2.08 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Author: Hansheng Zhao <copyrighthero@gmail.com> (https://www.zhs.me)
# import required setup libraries
from setuptools import setup, find_packages
from codecs import open
from os import path
# import library for metadata
from seco import __author__, __license__, __version__
# project absolute directory
DIRECTORY = path.abspath(path.dirname(__file__))
# project readme file content
with open(
path.join(DIRECTORY, 'README.rst'), encoding = 'UTF8'
) as file_descriptor:
PROJECT_README = file_descriptor.read()
# project required dependencies
with open(
path.join(DIRECTORY, 'requirements.txt'), encoding = 'UTF8'
) as file_descriptor:
REQUIREMENTS = tuple(line for line in file_descriptor if line)
# project setup parameters
setup(
name = 'SeCo',
version = __version__,
description = 'Python data serialization and compression made easy.',
long_description = PROJECT_README,
url = 'https://www.github.com/copyrighthero/SeCo',
download_url = 'https://www.github.com/copyrighthero/SeCo',
author = __author__,
author_email = 'copyrighthero@gmail.com',
license = __license__,
classifiers = (
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Communications',
'Topic :: Database',
'Topic :: Internet',
'Topic :: Software Development',
'Topic :: System',
'Topic :: Utilities'
),
keywords = 'Data Serialization Compression Library',
py_modules = ("seco", ),
packages = find_packages(exclude = ()),
install_requires = REQUIREMENTS,
package_data = {},
data_files = (),
entry_points = {},
project_urls = {
'Source': 'https://www.github.com/copyrighthero/SeCo'
}
)