-
Notifications
You must be signed in to change notification settings - Fork 9
/
setup.py
62 lines (59 loc) · 1.88 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
55
56
57
58
59
60
61
62
from setuptools import setup, find_packages, Command
import os
class CleanCommand(Command):
user_options = []
def initialize_options(self):
self.cwd = None
def finalize_options(self):
self.cwd = os.getcwd()
def run(self):
assert os.getcwd() == self.cwd, 'Must be in package root: %s' % self.cwd
os.system ('rm -rf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info')
with open('README.md', 'r') as fh:
long_description = fh.read()
setup(
name='tortus',
version='1.0.2',
description='Easy text annotation in a Jupyter Notebook',
url='https://github.com/SiphuLangeni/tortus/',
project_urls={
'Source Code': 'https://github.com/SiphuLangeni/tortus/blob/master/src/tortus/tortus.py',
'Documentation': 'https://tortus.readthedocs.io/'
},
author='Siphu Langeni',
author_email='[email protected]',
package_dir={'': 'src'},
packages=find_packages('src'),
include_package_data=True,
package_data={
'tortus': ['Images/tortus_logo.png'],
},
classifiers=[
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Framework :: Jupyter',
'Operating System :: OS Independent',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
],
keywords=[
'nlp', 'annotation', 'labeling', 'jupyter-notebook', 'ipywidgets'
],
long_description=long_description,
long_description_content_type='text/markdown',
python_requires='>=3.6',
install_requires=[
'pandas>=1.0.1',
'ipywidgets>=7.5.1',
'ipython>=7.12.0',
'jupyter-contrib-nbextensions>=0.5.1'
],
extras_require={
'dev': [
'pytest>=3.7', 'check-manifest==0.10.1', 'twine==3.2.0'
]
},
cmdclass={
'clean': CleanCommand
}
)