Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
Project
pikatasks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
django
pikatasks
Commits
73f20f7c
Commit
73f20f7c
authored
Oct 25, 2017
by
Art
Browse files
Options
Downloads
Patches
Plain Diff
Add setup script.
parent
2d13d6b0
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
requirements.txt
+2
-0
2 additions, 0 deletions
requirements.txt
setup.py
+45
-0
45 additions, 0 deletions
setup.py
with
48 additions
and
0 deletions
.gitignore
+
1
−
0
View file @
73f20f7c
...
@@ -4,3 +4,4 @@
...
@@ -4,3 +4,4 @@
build/
build/
*.egg-info/
*.egg-info/
dist/
dist/
This diff is collapsed.
Click to expand it.
requirements.txt
0 → 100644
+
2
−
0
View file @
73f20f7c
pika
>=0.11,<1.0
This diff is collapsed.
Click to expand it.
setup.py
0 → 100644
+
45
−
0
View file @
73f20f7c
import
os
from
setuptools
import
setup
,
find_packages
from
pip.req.req_file
import
parse_requirements
from
pip.download
import
PipSession
README
=
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"
README.md
"
)).
read
()
# allow setup.py to be run from any path
os
.
chdir
(
os
.
path
.
normpath
(
os
.
path
.
join
(
os
.
path
.
abspath
(
__file__
),
os
.
pardir
)))
def
get_requirements_list
():
filename
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"
requirements.txt
"
)
objects
=
list
(
parse_requirements
(
filename
,
session
=
PipSession
()))
strings
=
[
str
(
o
.
req
)
for
o
in
objects
]
return
strings
setup
(
name
=
'
pikatasks
'
,
version
=
'
1.0
'
,
packages
=
find_packages
(),
include_package_data
=
True
,
license
=
'
BSD
'
,
description
=
'
Minimal RPC with pika. Skookum as frig.
'
,
long_description
=
README
,
url
=
'
https://lab.it.hs-hannover.de/django/pikatasks
'
,
author
=
'
Art Lukyanchyk
'
,
author_email
=
'
artiom.lukyanchyk@hs-hannover.de
'
,
zip_safe
=
False
,
install_requires
=
get_requirements_list
(),
classifiers
=
[
'
Environment :: Server
'
,
'
Framework :: pika
'
,
'
Intended Audience :: Developers
'
,
'
License :: OSI Approved :: BSD License
'
,
'
Operating System :: OS Independent
'
,
'
Programming Language :: Python
'
,
'
Programming Language :: Python :: 3.4
'
,
'
Topic :: System :: Networking
'
,
'
Topic :: Software Development :: Libraries
'
,
],
)
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
sign in
to comment