-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
49 lines (44 loc) · 1.61 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
from setuptools import setup
import os
import sys
_here = os.path.abspath(os.path.dirname(__file__))
if sys.version_info[0] < 3:
with open(os.path.join(_here, 'README.md')) as f:
long_description = f.read()
with open(os.path.join(_here, 'requirements.txt')) as f:
requirements = f.read()
else:
with open(os.path.join(_here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
with open(os.path.join(_here, 'requirements.txt'), encoding='utf-8') as f:
requirements = f.read()
requirements = [
requirement for requirement in requirements.split('\n') if requirement
]
version = {}
with open(os.path.join(_here, 'mwsd', 'version.py')) as f:
exec(f.read(), version)
setup(
name='mwsd',
version=version['__version__'],
description=
' Multi Writing Style Detection is a Python package providing an implementation of an algorithm to detect a multi writing style in texts.',
long_description=long_description,
author='Roman Glozman;Yoni Shpund',
author_email='romanglozman92@gmail.com;shpundyoni@gmail.com ',
url='https://github.com/romanglo/multiple-writing-style-detector',
license='MIT',
packages=['mwsd'],
install_requires=requirements,
package_data={
'license': ['LICENSE'],
'readme': ['README.md']
},
classifiers=[
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6'
])