-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#! /usr/bin/env python | ||
# -*- coding: utf8 -*- | ||
|
||
from __future__ import print_function | ||
|
||
import os | ||
import io | ||
from setuptools import setup | ||
|
||
|
||
def getreadme(): | ||
for fname in ('README.rst','README.md', 'README'): | ||
if os.path.exists(fname): | ||
return io.open(os.path.join(os.path.dirname(__file__), fname),'r',encoding='utf-8').read() | ||
return "" | ||
|
||
setup( | ||
name = "SYSTEM_ID", | ||
version = "0.1", | ||
author = "Unspecified", #adapt this | ||
description = ("Enter a description for your webservice here"), | ||
license = "GPL", | ||
keywords = "clam webservice rest nlp computational_linguistics rest", | ||
url = "https://somewhere.over.the.rainbow", #update this! | ||
packages=['SYSTEM_ID'], | ||
long_description=getreadme(), | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application", | ||
"Topic :: Text Processing :: Linguistic", | ||
"Programming Language :: Python :: 2.7", #remove this if needed! | ||
"Programming Language :: Python :: 3.4", #3.0, 3.1 and 3.2 are not supported by flask/CLAM | ||
"Programming Language :: Python :: 3.5", #3.0, 3.1 and 3.2 are not supported by flask/CLAM | ||
"Operating System :: POSIX", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
], | ||
package_data = {'SYSTEM_ID':['*.wsgi','*.yml'] }, | ||
include_package_data=True, | ||
install_requires=['CLAM >= 2.3'] | ||
) |