-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
64 lines (57 loc) · 1.96 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
63
64
#!/usr/bin/python
##
# @file setup.py
#
# @copyright Copyright (C) 2013-2014 srcML, LLC. (www.srcML.org)
#
# The stereocode is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# The stereocode Toolkit is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with the stereocode Toolkit; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
from setuptools import setup
import sys
extra = { }
if sys.version_info >= (3,):
extra['use_2to3'] = True
raise NotImplementedError("2to3 conversion has not been tested!")
def read_docuemntation():
return "\n".join(open("README.md").readlines())
setup(
name='stereocode',
version = '1.0',
description='Source code stereotypeing tool that annotates srcML-i-fied with method stereotypes.',
author='SDML',
author_email='',
package_dir = {'libstereocode': 'libstereocode', 'libstereocode/xslt': 'libstereocode.xslt'},
packages = ['libstereocode'],
data_files=[
('libstereocode/xslt',
[
'libstereocode/xslt/stereotype.xsl',
'libstereocode/xslt/remove_stereotypes.xsl'
]
)
],
scripts=['stereocode.py'],
test_suite = '',
# **extra
license = "GPL",
keywords = "static analysis stereotype stereocode srcML SDML",
url = "www.srcML.org",
long_description=read_docuemntation(),
classifiers=[
"Development Status :: 4 - Beta",
"Topic :: Utilities",
],
install_requires=['lxml']
)
# create_shortcut()