# -*- coding: utf-8 -*-
from setuptools import setup, find_packages

try:
    long_description = open("README.md").read()
except IOError:
    long_description = ""

setup(
    name="vania",
    version="0.1.0",
    description="A module to fairly distribute objects among targets considering weights.",
    license="MIT",
    author="Hackathonners",
    packages=find_packages(),
    install_requires=[
        'pulp',
    ],
    package_dir={'': '.'},
    long_description=long_description,
    classifiers=[
        "Programming Language :: Python",
        "Programming Language :: Python :: 3",
    ],
    test_suite='nose.collector',
    tests_require=['nose'],
)

@@ -60,16 +60,365 @@
 packages
+%0Aimport setuptools.command.build_py%0Aimport subprocess%0A%0A%0Aclass GenDocsCommand(setuptools.command.build_py.build_py):%0A%0A    %22%22%22Command to generate docs.%22%22%22%0A%0A    def run(self):%0A        subprocess.Popen(%0A            %5B'pdoc', '--html', 'vania/fair_distributor.py', '--html-dir=docs/', '--overwrite'%5D)%0A        setuptools.command.build_py.build_py.run(self)
 %0A%0Atry:%0A 
@@ -761,16 +761,31 @@
 'pulp',%0A
+        'pdoc'%0A
     %5D,%0A 
@@ -996,16 +996,16 @@
 ector',%0A
-
     test
@@ -1024,10 +1024,66 @@
 nose'%5D,%0A
+    cmdclass=%7B%0A        'gendocs': GenDocsCommand%0A    %7D,%0A
 )%0A

Add command to generate docs