-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·55 lines (46 loc) · 1.98 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
49
50
51
52
53
54
#!/usr/bin/env python
import os
import sys
from setuptools import setup
if __name__ == '__main__':
summary = 'Tools to pop/peek lines from the head/tail or known position within a given file, and output to stdout. Makes files into queues!'
# Ensure we are in the same directory as this setup.py
dirName = os.path.dirname(__file__)
if dirName and os.getcwd() != dirName:
os.chdir(dirName)
try:
with open('README.rst', 'rt') as f:
long_description = f.read()
except Exception as e:
sys.stderr.write('Error reading description: %s\n' %(str(e),))
long_description = summary
setup(name='popLines',
version='2.1.1',
scripts=['popHead', 'popTail', 'popRandom', 'popRange', 'popThese'],
modules=['PopLines'],
packages=['PopLines'],
provides=['PopLines'],
keywords=['popLines', 'file', 'head', 'tail', 'random', 'queue', 'stack', 'pop', 'lines', 'peek', 'extract', 'text', 'popHead', 'popTail', 'popRandom', 'remove', 'position', 'line' ],
url='https://github.com/kata198/popLines',
long_description=long_description,
author='Tim Savannah',
author_email='[email protected]',
maintainer='Tim Savannah',
maintainer_email='[email protected]',
license='GPLv2',
description=summary,
classifiers=['Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Database',
'Topic :: Text Processing',
'Topic :: Utilities',
]
)
#vim: set ts=4 sw=4 expandtab