-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
53 lines (48 loc) · 1.84 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
#!/usr/bin/env python
from setuptools import setup
from codecs import open
def lines(text):
"""
Returns each non-blank line in text enclosed in a list.
See http://pypi.python.org/pypi/textdata for more sophisticated version.
"""
return [l.strip() for l in text.strip().splitlines() if l.strip()]
setup(
name='intspan',
version='1.6.1',
author='Jonathan Eunice',
author_email='jonathan.eunice@gmail.com',
description="Sets of integers like 1,3-7,33",
long_description=open('README.rst', encoding='utf-8').read(),
url='https://bitbucket.org/jeunice/intspan',
license='Apache License 2.0',
packages=['intspan'],
setup_requires=[],
install_requires=[],
tests_require=['tox', 'pytest', 'pytest-cov'],
test_suite="test",
zip_safe=False,
keywords='integer set span range intspan intrange intspanlist',
classifiers=lines("""
Development Status :: 5 - Production/Stable
Operating System :: OS Independent
License :: OSI Approved :: Apache Software License
Intended Audience :: Developers
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Topic :: Software Development :: Libraries :: Python Modules
"""),
project_urls = {
'Documentation': 'https://intspan.readthedocs.io/en/latest/',
'Source': 'https://bitbucket.org/jeunice/intspan',
'The Author': 'https://jonathaneunice.github.io'
},
)