-
Notifications
You must be signed in to change notification settings - Fork 713
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from benjaoming/setup-impro
Make "pip install -e ." work
- Loading branch information
Showing
3 changed files
with
20 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,6 +81,7 @@ celerybeat-schedule | |
# virtualenv | ||
venv/ | ||
ENV/ | ||
.venv | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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): | ||
|
@@ -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', | ||
|
@@ -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', | ||
], ) | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = "0.0.1" |