-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (39 loc) · 1.33 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
from setuptools import setup
import os
import shutil
home_path = os.getenv('HOME')
bashcompletion_dir = home_path
for d in ['.local', 'share', 'bash-completion', 'completions']:
bashcompletion_dir = os.path.join(bashcompletion_dir, d)
if not os.path.exists(bashcompletion_dir):
os.mkdir(bashcompletion_dir)
bashcompletion_path = os.path.join(bashcompletion_dir, 'playlabs')
shutil.copyfile('bash-completion.sh', bashcompletion_path)
setup(
name='playlabs',
setup_requires='setupmeta',
versioning='dev',
description='The obscene ansible paas distribution',
author='James Pic, Thomas Mignot',
author_email='[email protected]',
url='https://yourlabs.io/oss/playlabs',
include_package_data=True,
license='MIT',
entry_points={
'console_scripts': [
'playlabs = playlabs.cli.main:cli',
],
},
classifiers=[
'Development Status :: 1 - Planning',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)