https://github.com/araith/pyDEA
Tip revision: eac02bac901b9109efb5d6a3841809f70e378912 authored by Olga Perederieieva on 11 April 2021, 00:38:30 UTC
Merge pull request #5 from mcf-rocha/fix-pickle-open
Merge pull request #5 from mcf-rocha/fix-pickle-open
Tip revision: eac02ba
setup.py
import os
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to pytest")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []
def run_tests(self):
# import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.pytest_args)
sys.exit(errno)
setup(
name="pyDEA",
version="1.6",
author="Andrea Raith, Olga Perederieieva",
author_email="peredereeva@gmail.com",
description=("Package for conducting data envelopment analysis"),
license="MIT",
keywords="data envelopment analysis",
url="https://github.com/araith/pyDEA",
packages=['pyDEA', 'pyDEA.core', 'pyDEA.core.data_processing',
'pyDEA.core.gui_modules', 'pyDEA.core.models',
'pyDEA.core.utils'],
long_description=read('README.rst'),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux"
],
install_requires=['pulp>=1.6.1', 'openpyxl'],
entry_points={
'gui_scripts': [
'pyDEA=pyDEA.main_gui:main',
],
},
include_package_data=True,
tests_require=['pytest'],
cmdclass={'test': PyTest},
test_suite='tests',
)