-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (41 loc) · 1.49 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
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import os
import sys
from codecs import open
from setuptools import setup
sys.path[0:0] = ['rcslice']
from version import __version__
def get_readme(filename):
content = ""
try:
with open(os.path.join(os.path.dirname(__file__), filename), 'r', encoding='utf-8') as readme:
content = readme.read()
except Exception as e:
pass
return content
setup(name="rcslice",
version=__version__,
author="Md. Jahidul Hamid",
author_email="[email protected]",
description="Slice a list of sliceables (1 indexed, start and end index both are inclusive) ",
license="BSD",
keywords="slice list sliceable line slice from file",
url="https://github.com/neurobin/rcslice",
packages=["rcslice"],
long_description=get_readme("README.md"),
long_description_content_type="text/markdown",
classifiers=[
# See: https://pypi.python.org/pypi?:action=list_classifiers
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Text Processing :: Filters',
],
install_requires=[],
test_suite="rcslice.test.test")