From 4a8d8a4799f5cc21a6bad9025e7b4090472e48bc Mon Sep 17 00:00:00 2001 From: Million Integrals Date: Tue, 14 Aug 2018 01:44:44 +0200 Subject: [PATCH] Registered project with PyPI and prepared setup.py script. --- setup.cfg | 2 ++ setup.py | 60 +++++++++++++++++++++++++++++++++++++++ vel/launcher.py | 1 + waterboy/util/__init__.py | 0 4 files changed, 63 insertions(+) create mode 100644 setup.cfg create mode 100644 setup.py delete mode 100644 waterboy/util/__init__.py diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 00000000..224a7795 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[metadata] +description-file = README.md \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..31b6730c --- /dev/null +++ b/setup.py @@ -0,0 +1,60 @@ +from setuptools import setup, find_packages + +long_description = """ +This repository is my project to bring velocity to deep-learning research, by providing tried and tested large pool of +prebuilt components that are known to be working well together. + +I would like to minimize time to market of new projects, ease experimentation and provide bits of experiment management +to bring some order to the data science workflow. + +Ideally, for most applications it should be enough to write a config file wiring existing components together. +If that's not the case writing bits of custom code shouldn't be unnecessarily complex. + +This repository is still in an early stage of that journey but it will grow as I'll be putting some work into it. +""" + + +setup( + name='vel', + version='0.1.1', + description="Velocity in deep-learning research", + long_description=long_description, + url='https://github.com/MillionIntegrals/vel', + author='Jerry Tworek', + author_email='jerry@millionintegrals.com', + license='MIT', + packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), + install_requires=[ + 'pyyaml', + 'numpy', + 'pandas', + 'scikit-learn', + 'torch >= 0.4.1', + 'torchvision', + 'opencv-python', + 'pillow-simd', + 'tqdm' + ], + extras_require={ + 'visdom': ['visdom'], + 'mongo': ['pymongo'], + 'gym': ['gym[all]'], + }, + entry_points={ + 'console_scripts': [ + 'vel = vel.launcher:main', + ], + }, + classifiers=[ + 'Development Status :: 3 - Alpha', + 'Intended Audience :: Developers', + 'Intended Audience :: Education', + 'Intended Audience :: Science/Research', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.7', + 'Topic :: Software Development :: Libraries', + 'Topic :: Software Development :: Libraries :: Python Modules' + ], + scripts=[] +) diff --git a/vel/launcher.py b/vel/launcher.py index f8f143bc..cdd02092 100644 --- a/vel/launcher.py +++ b/vel/launcher.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python import argparse from vel.internals.project_config import ProjectConfig diff --git a/waterboy/util/__init__.py b/waterboy/util/__init__.py deleted file mode 100644 index e69de29b..00000000