Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hshassets
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
django
hshassets
Commits
94806436
Commit
94806436
authored
7 years ago
by
schulmax
Browse files
Options
Downloads
Patches
Plain Diff
The automagic is no longer supported by pip version > 6
parent
4e652448
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.py
+5
-7
5 additions, 7 deletions
setup.py
with
5 additions
and
7 deletions
setup.py
+
5
−
7
View file @
94806436
from
setuptools
import
setup
,
find_packages
from
setuptools
import
setup
,
find_packages
from
pip.req
import
parse_requirements
import
os
import
os
# allow setup.py to be run from any path
# allow setup.py to be run from any path
os
.
chdir
(
os
.
path
.
normpath
(
os
.
path
.
join
(
os
.
path
.
abspath
(
__file__
),
os
.
pardir
)))
os
.
chdir
(
os
.
path
.
normpath
(
os
.
path
.
join
(
os
.
path
.
abspath
(
__file__
),
os
.
pardir
)))
# automagic
requirements_parsed
=
parse_requirements
(
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
"
requirements.txt
"
)))
requirements_list
=
[
str
(
r
.
req
)
for
r
in
requirements_parsed
]
setup
(
setup
(
name
=
'
django-hshassets
'
,
name
=
'
django-hshassets
'
,
version
=
'
0.1
'
,
version
=
'
0.1
'
,
...
@@ -23,7 +17,11 @@ setup(
...
@@ -23,7 +17,11 @@ setup(
author
=
'
Tim Fechner
'
,
author
=
'
Tim Fechner
'
,
author_email
=
'
tim.fechner@hs-hannover.de
'
,
author_email
=
'
tim.fechner@hs-hannover.de
'
,
zip_safe
=
False
,
zip_safe
=
False
,
install_requires
=
requirements_list
,
install_requires
=
[
'
libsass==0.11.2
'
,
'
jsmin==2.2.1
'
,
'
watchdog==0.8.3
'
],
classifiers
=
[
classifiers
=
[
'
Environment :: Web Environment
'
,
'
Environment :: Web Environment
'
,
'
Framework :: Django
'
,
'
Framework :: Django
'
,
...
...
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