forked from WuerthPhoenix/log-generator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
56 lines (46 loc) · 1.61 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
import os
import io
import runpy
from setuptools import setup, find_packages
current = os.path.realpath(os.path.dirname(__file__))
with io.open(os.path.join(current, 'README.md'), encoding="utf-8") as f:
long_description = f.read()
with io.open(os.path.join(current, 'HISTORY.md'), encoding="utf-8") as f:
history = f.read()
with open(os.path.join(current, 'requirements.txt')) as f:
requirements = f.read().splitlines()
__version__ = runpy.run_path(
os.path.join(current, "rlog_generator", "version.py"))["__version__"]
setup(
name='rlog-generator',
author="Fedele Mantuano",
author_email='[email protected]',
maintainer="Fedele Mantuano",
maintainer_email='[email protected]',
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
description="Generator of random logs for multiple types of technologies",
entry_points={
'console_scripts': [
'rlog-generator=rlog_generator.cli:main',
],
},
platforms=["Linux"],
install_requires=requirements,
long_description=long_description + '\n\n' + history,
include_package_data=True,
keywords=['log', 'generator', 'random'],
packages=find_packages(include=['rlog_generator']),
setup_requires=requirements,
url='https://github.com/WuerthPhoenix/log-generator',
version=__version__,
zip_safe=False,
)