forked from beasteers/randomname
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·33 lines (31 loc) · 1.17 KB
/
setup.py
File metadata and controls
executable file
·33 lines (31 loc) · 1.17 KB
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
import setuptools
from pathlib import Path
USERNAME = 'beasteers'
NAME = 'randomname'
setuptools.setup(
name=NAME,
version='0.2.1',
description='Generate random adj-noun names like docker and github.',
long_description=open('README.md').read().strip(),
long_description_content_type='text/markdown',
author='Bea Steers',
author_email='bea.steers@gmail.com',
url='https://github.com/{}/{}'.format(USERNAME, NAME),
packages=setuptools.find_packages(),
package_data={NAME: [str(path.relative_to(NAME)) for path in Path(f"{NAME}/wordlists").rglob("*.txt")]},
entry_points={
'console_scripts': ['{name}={name}:main'.format(name=NAME)],
"pyinstaller40": ["hook-dirs=randomname.__pyinstaller:get_hook_dirs"],
},
install_requires=['fire'],
tests_require=['pytest'],
license='MIT License',
keywords='random name generator docker container github repo '
'word list noun adjective verb',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
]
)