Skip to content
Snippets Groups Projects
Commit 54602f64 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[setup] Remove outdated namespace declaration; Move requirements to external file

parent 22e6e3af
No related branches found
No related tags found
1 merge request!263New CI
...@@ -26,7 +26,10 @@ ...@@ -26,7 +26,10 @@
############################################################################### ###############################################################################
from setuptools import setup, find_packages from setuptools import setup, find_packages
from io import open
def load_requirements(f):
retval = [str(k.strip()) for k in open(f, 'rt')]
return [k for k in retval if k and k[0] not in ('#', '-')]
# The only thing we do in this file is to call the setup() function with all # The only thing we do in this file is to call the setup() function with all
# parameters that define our package. # parameters that define our package.
...@@ -45,35 +48,7 @@ setup( ...@@ -45,35 +48,7 @@ setup(
packages=find_packages(), packages=find_packages(),
include_package_data=True, include_package_data=True,
zip_safe=False, zip_safe=False,
install_requires=load_requirements('requirements.txt'),
namespace_packages=[
"beat",
],
install_requires=[
"beat.core",
"django",
"django-activity-stream",
"django-jsonfield",
"django-guardian",
"djangorestframework",
"django-rest-swagger",
"django-post_office",
"docopt",
"docutils",
"Jinja2",
"nose",
"psycopg2-binary",
"pytz",
"psutil",
"setuptools",
"simplejson",
"sphinx",
"sphinxcontrib-programoutput",
"sphinxcontrib-httpdomain",
"sphinx-rtd-theme",
"matplotlib",
],
classifiers = [ classifiers = [
'Development Status :: 5 - Production/Stable', 'Development Status :: 5 - Production/Stable',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment