from setuptools import setup, find_packages
import os

def readme():
    with open('README.rst') as f:
        return f.read()

requiredpackages = ['numpy', 'matplotlib']#, 'flame']

setup(
        name = "genopt",
        version = "0.1.0",
        description = "General multi-dimensional optimization package",
        long_description = readme() + '\n\n',
        author = "Tong Zhang",
        author_email = "zhangt@frib.msu.edu",
        platforms = ["Linux"],
        license = "MIT",
        url = "http://archman.github.io/genopt/",
        packages = find_packages(),
        requires = requiredpackages,
)

from setuptools import setup, find_packages
import os

def readme():
    with open('README.md') as f:
        return f.read()

requiredpackages = ['numpy', 'matplotlib']#, 'flame']

setup(
        name = "genopt",
        version = "0.1.0",
        description = "General multi-dimensional optimization package",
        long_description = readme() + '\n\n',
        author = "Tong Zhang",
        author_email = "zhangt@frib.msu.edu",
        platforms = ["Linux"],
        license = "MIT",
        url = "http://archman.github.io/genopt/",
        packages = find_packages(),
        requires = requiredpackages,
)

Read from README.md.