-
Notifications
You must be signed in to change notification settings - Fork 11
/
setup.py
executable file
·48 lines (45 loc) · 1.54 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
#!/usr/bin/env python3
#
# petname - library for generating human-readable, random names
# for objects (e.g. hostnames, containers, blobs)
# Copyright (c) 2013 Casey Marshall <casey.marshall@gmail.com>
# Copyright (c) 2019 Dustin Kirkland <dustin.kirkland@gmail.com>
#
# ssh-import-id is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3.
#
# ssh-import-id is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with python-petname. If not, see <http://www.gnu.org/licenses/>.
from setuptools import setup
import io
try:
with io.open("README.md", "r", encoding='utf-8') as fh:
long_description = fh.read()
except UnicodeDecodeError:
long_description = str()
setup(
name='petname',
description='Generate human-readable, random object names',
#long_description=long_description,
#long_description_content_type="text/markdown",
version='2.8',
author='Dustin Kirkland',
author_email='dustin.kirkland@gmail.com',
license="Apache2",
keywords="random name uuid",
url='https://github.com/dustinkirkland/python-petname',
platforms=['any'],
packages=['petname'],
package_data={'petname': ['py.typed']},
entry_points={
'console_scripts': [
'petname = petname.__main__:main',
]
},
)