-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
52 lines (44 loc) · 1.35 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
import os
import platform
from setuptools import Command, find_packages, setup
class Clean(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
plat_name = platform.system()
if plat_name == 'Windows':
os.system(
'rmdir /s /q "./build" "./dist" "./*.pyc" "./*.tgz" "./IDEAlib.egg-info"')
elif plat_name in ['Linux', 'Darwin']:
os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info')
setup(
name='IDEAlib',
version='0.0.1.dev1',
license='LICENSE',
description='A Graph-based Pattern Representations',
long_description=open('README.md', encoding='utf-8').read(),
long_description_content_type='text/markdown',
url='https://github.com/IDEA-NTHU-Taiwan/PatternTutorial.git',
packages=find_packages(exclude=['tests']),
install_requires=[
'matplotlib',
'networkx',
'nltk',
'pandas',
'tqdm'
],
python_requires='>=3.5.2',
cmdclass={
'clean': Clean
},
classifiers=(
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: MIT License',
'Topic :: Text Processing :: Linguistic'
),
)