-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·28 lines (24 loc) · 904 Bytes
/
setup.py
File metadata and controls
executable file
·28 lines (24 loc) · 904 Bytes
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
#!/usr/bin/python
from os.path import exists
from setuptools import setup
def get_requirements():
return open('./argparseweb/requirements.txt').readlines()
def get_version():
context = {}
execfile('./argparseweb/version.py', context)
return context['__version__']
setup(
name = 'argparseweb',
packages = ['argparseweb'],
package_data = {'argparseweb': ['templates/*.html',
'requirements.txt']},
version = get_version(),
description = 'Automatic exposure of argparse-compatible scripts as a web interface',
long_description=(open('README.md').read() if exists('README.md') else ''),
author = 'Nir Izraeli',
author_email = '[email protected]',
url = 'https://github.com/nirizr/argparseweb',
keywords = ['webui', 'web', 'user', 'interface', 'ui', 'argparse', 'webpy', 'web.py'],
install_requires = get_requirements(),
classifiers = [],
)