Skip to content

Commit

Permalink
Merge pull request #4 from benjaoming/setup-impro
Browse files Browse the repository at this point in the history
Make "pip install -e ." work
  • Loading branch information
benjaoming authored May 23, 2017
2 parents b2967fe + cf53a6a commit 205f9fc
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 18 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ celerybeat-schedule
# virtualenv
venv/
ENV/
.venv

# Spyder project settings
.spyderproject
Expand Down
36 changes: 18 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
from __future__ import absolute_import, print_function

import logging
import os
import sys

from setuptools import setup
from setuptools import find_packages, setup


sys.path.append(
os.path.join(os.path.dirname(__file__), 'src')
)

# noqa
from barbequeue import __version__ # isort:skip # noqa


def read_file(fname):
Expand Down Expand Up @@ -47,28 +56,18 @@ def enable_log_to_stdout(logname):

setup(
name=dist_name,
version="0.0.1",
version=__version__,
description=description,
long_description="{readme}".format(
readme=readme, ),
long_description="{readme}".format(readme=readme),
author='Learning Equality',
author_email='[email protected]',
url='https://github.com/learningequality/barbequeue',
packages=[
str('barbequeue'),
str('barbequeue.scheduler'),
str('barbequeue.common'),
str('barbequeue.storage.backends'),
str('barbequeue.messaging'),
str('barbequeue.messaging.backends'),
str('barbequeue.worker'),
str('barbequeue.worker.backends'),
],
package_dir={'barbequeue': 'src/barbequeue'},
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
license='MIT',
zip_safe=False,
keywords='queue',
keywords=('queue', 'async'),
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
Expand All @@ -82,4 +81,5 @@ def enable_log_to_stdout(logname):
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: PyPy',
], )
],
)
1 change: 1 addition & 0 deletions src/barbequeue/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = "0.0.1"

0 comments on commit 205f9fc

Please sign in to comment.