diff --git a/nengo_bio/__init__.py b/nengo_bio/__init__.py index 950a110..c0f185f 100644 --- a/nengo_bio/__init__.py +++ b/nengo_bio/__init__.py @@ -21,13 +21,16 @@ def _warn_omp_num_threads(): var = "OMP_NUM_THREADS" if ((not var in os.environ) or (os.environ[var] != "1")): warnings.warn( - "\nπ—‘π—˜π—‘π—šπ—’π—•π—œπ—’ π—ͺ𝗔π—₯π—‘π—œπ—‘π—š\n" - "The environment variable OMP_NUM_THREADS is not set to \"1\".\n" - "This will results in reduced performance when solving for\n" - "neuron weights.\n", + "The environment variable OMP_NUM_THREADS is not set to \"1\". " + "This will result in reduced performance when solving for " + "neuron weights.", RuntimeWarning) _warn_omp_num_threads() +# Set the package name +name = "nengo_bio" + +# Expose commonly used objects from nengo_bio.connection import Connection from nengo_bio.ensemble import Ensemble from nengo_bio.common import Excitatory, Inhibitory diff --git a/setup.py b/setup.py index 4d9aa18..67e9b42 100644 --- a/setup.py +++ b/setup.py @@ -16,15 +16,21 @@ from setuptools import setup, find_packages +with open("README.md", "r") as fh: + long_description = fh.read() + setup( name='nengo_bio', packages=[ 'nengo_bio' ], - version='1.0', + version='0.1', author='Andreas StΓΆckel', + author_email='astoecke@uwaterloo.ca', description='Dendritic Computation Primitives for Nengo', - url='https://github.com/astoeckel/nengo_bio', + long_description=long_description, + long_description_content_type="text/markdown", + url='https://github.com/astoeckel/nengo-bio', license='GPLv3', classifiers=[ 'Development Status :: 3 - Alpha',