Permalink
Browse files

Added files to create a python package along with the project license

  • Loading branch information...
j0hn committed Jun 19, 2013
1 parent c5685cd commit 68ace3f56e79f3b20c7562b3bb4a45909c327e6d
Showing with 70 additions and 0 deletions.
  1. +24 −0 LICENSE
  2. +5 −0 MANIFEST.in
  3. +41 −0 setup.py
View
24 LICENSE
@@ -0,0 +1,24 @@
Copyright (c) 2013, Machinalis S.R.L.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the Machinalis nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL MACHINALIS S.R.L. BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
View
@@ -0,0 +1,5 @@
recursive-include docs *.rst
recursive-include tests *.py
include LICENSE
include MANIFEST.in
include README.rst
View
@@ -0,0 +1,41 @@
# coding: utf-8
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
requirements = open("requirements.txt").read().splitlines()
requirements.remove("numpy")
# Do not require numpy because it's better to install it
# from a system package to avoid compilation
setup(
name="yalign",
version="0.1",
description="A tool to align comparable corpora",
long_description=open('README.rst').read(),
author="Rafael Carrascosa, Gonzalo Garcia Berrotaran, Andrew Vine",
author_email="rafacarrascosa@gmail.com",
url="https://github.com/machinalis/yalign",
keywords=["align", "corpus", "corpus alignment"],
classifiers=[
"Programming Language :: Python",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
"Topic :: Text Processing :: Linguistic",
"Topic :: Text Processing",
"Topic :: Utilities",
],
packages=["yalign"],
install_requires=requirements,
scripts=[os.path.join("scripts", x) for x in os.listdir("scripts")],
)

0 comments on commit 68ace3f

Please sign in to comment.