Skip to content

Commit

Permalink
Changes to satisfy pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
stumitchell committed May 14, 2019
1 parent aa97fa2 commit 790b3fd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pulp [![Build Status](https://travis-ci.org/coin-or/pulp.svg?branch=master)](https://travis-ci.org/coin-or/pulp)
# pulp ![Build Status](https://travis-ci.org/coin-or/pulp.svg?branch=master)](https://travis-ci.org/coin-or/pulp)

PuLP is an LP modeler written in python. PuLP can generate MPS or LP files
and call GLPK[1], COIN CLP/CBC[2], CPLEX[3], and GUROBI[4] to solve linear
Expand Down Expand Up @@ -83,11 +83,8 @@ Exported Classes:
Exported Functions:

* value() -- Finds the value of a variable or expression
* lpSum() -- given a list of the form [a1*x1, a2x2, ..., anxn] will construct
a linear expression to be used as a constraint or variable
* lpDot() --given two lists of the form [a1, a2, ..., an] and
[ x1, x2, ..., xn] will construct a linear epression to be used
as a constraint or variable
* lpSum() -- given a list of the form [a1*x1, a2x2, ..., anxn] will construct a linear expression to be used as a constraint or variable
* lpDot() --given two lists of the form [a1, a2, ..., an] and [ x1, x2, ..., xn] will construct a linear epression to be used as a constraint or variable

Comments, bug reports, patches and suggestions are welcome.
[email protected]
Expand Down
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use_setuptools()
from setuptools import setup

Description = open('README.md').read()

License = open('LICENSE').read()

Expand All @@ -17,11 +16,15 @@
exec(open('src/pulp/constants.py').read(), version_dict)
VERSION = version_dict['VERSION']

with open("README.md", "r") as fh:
long_description = fh.read()

setup(name="PuLP",
version=VERSION,
description=
"PuLP is an LP modeler written in python. PuLP can generate MPS or LP files and call GLPK, COIN CLP/CBC, CPLEX, and GUROBI to solve linear problems.",
long_description = Description,
long_description = long_description,
long_description_content_type="text/markdown",
license = License,
keywords = ["Optimization", "Linear Programming", "Operations Research"],
author="J.S. Roy and S.A. Mitchell",
Expand All @@ -38,7 +41,7 @@
#ext_modules = [pulpCOIN],
package_dir={'':'src'},
#need the cbc directories here as the executable bit is set
packages = ['pulp',
packages = ['pulp',
'pulp.solverdir',
'pulp.solverdir.cbc.linux.32',
'pulp.solverdir.cbc.linux.64',
Expand Down

0 comments on commit 790b3fd

Please sign in to comment.