Skip to content

Commit

Permalink
Merge pull request #29 from scottclowe/bug_unimportable
Browse files Browse the repository at this point in the history
BUG: Module not added to package; not importable
  • Loading branch information
lessw2020 committed Apr 15, 2020
2 parents 73811db + d521495 commit ea591d7
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions setup.py
@@ -1,10 +1,25 @@
from setuptools import setup
#!/usr/bin/env python

import os
from setuptools import find_packages, setup


def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()


setup(
name='ranger',
version='0.0.1',
version='0.1.dev0',
packages=find_packages(
exclude=['tests', '*.tests', '*.tests.*', 'tests.*']
),
package_dir={'ranger': os.path.join('.', 'ranger')},
description='Ranger - a synergistic optimizer using RAdam '
'(Rectified Adam) and LookAhead in one codebase ',
long_description=read('README.md'),
long_description_content_type='text/markdown',
author='Less Wright',
license='Apache',
install_requires=['torch']
Expand Down

0 comments on commit ea591d7

Please sign in to comment.