Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beat.web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
beat
beat.web
Commits
54602f64
Commit
54602f64
authored
6 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[setup] Remove outdated namespace declaration; Move requirements to external file
parent
22e6e3af
No related branches found
No related tags found
1 merge request
!263
New CI
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
requirements.txt
+22
-0
22 additions, 0 deletions
requirements.txt
setup.py
+5
-30
5 additions, 30 deletions
setup.py
with
27 additions
and
30 deletions
requirements.txt
0 → 100644
+
22
−
0
View file @
54602f64
beat.core
django
django-activity-stream
django-guardian
django-jsonfield
django-post_office
django-rest-swagger
djangorestframework
docopt
docutils
jinja2
matplotlib
nose
psutil
psycopg2-binary
pytz
setuptools
simplejson
sphinx
sphinx-rtd-theme
sphinxcontrib-httpdomain
sphinxcontrib-programoutput
This diff is collapsed.
Click to expand it.
setup.py
+
5
−
30
View file @
54602f64
...
@@ -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
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment