-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·56 lines (45 loc) · 1.63 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
import pathlib
from setuptools import setup, find_packages
from setuptools.command.install import install as _install
ROOT_DIR = pathlib.Path(__file__).parent
README = (ROOT_DIR / "README.md").read_text()
class install(_install):
def pre_install_script(self):
pass
def post_install_script(self):
pass
def run(self):
self.pre_install_script()
_install.run(self)
self.post_install_script()
if __name__ == '__main__':
setup(
name='yaml2object',
version='1.0.13',
description='A simple solution that allows dot notation for YAML file.',
long_description=README,
long_description_content_type="text/markdown",
author='Ravi Sharma',
author_email='[email protected]',
license='Apache2',
url='https://github.com/imravishar/yaml2object',
keywords=['YAML', 'pyyaml', 'Python YAML', 'python yaml'],
packages=find_packages(exclude=['tests']),
classifiers=[
'Environment :: Console',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Operating System :: OS Independent',
'License :: OSI Approved :: Apache Software License',
'Intended Audience :: Developers',
'Natural Language :: English',
'Topic :: Software Development :: Libraries :: Python Modules',
],
package_data={
'yaml2object': ['README.md', 'LICENSE']
},
install_requires=['pyyaml'],
zip_safe=True,
cmdclass={'install': install},
)