/
setup.py
executable file
·47 lines (42 loc) · 1.44 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
#!/usr/bin/python
import os
from distutils.core import setup
main_ns = {
'name' : None,
'version' : None,
}
def get_name_version():
basedir = os.path.dirname(__file__)
with open(os.path.join(basedir, 'difio_virtualenv_python/version.py')) as f:
exec(f.read(), main_ns)
return
raise RuntimeError('No version info found.')
with open('README.rst') as file:
long_description = file.read()
get_name_version()
setup(
name=main_ns['name'],
version=main_ns['version'],
description='Difio registration agent for stand-alone Python virtualenv applications',
author='Alexander Todorov',
author_email='atodorov@nospam.dif.io',
url = 'http://github.com/difio/difio-virtualenv-python',
packages=['difio_virtualenv_python'],
scripts=['difio-virtualenv-python'],
keywords = ['virtualenv', 'difio', 'updates'],
license = 'MIT',
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Development Status :: 5 - Production/Stable",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Topic :: System",
"Topic :: System :: Monitoring",
"Topic :: System :: Systems Administration",
],
long_description = long_description,
)