Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-pipeline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-pipeline
Commits
b862dfcd
Commit
b862dfcd
authored
Apr 17, 2011
by
Timothée Peignier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://github.com/disqus/django-compress
parents
7eacc447
4ec17398
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
26 deletions
+5
-26
setup.py
+5
-26
No files found.
setup.py
View file @
b862dfcd
from
distutils.core
import
setup
import
os
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages
,
data_files
=
[],
[]
root_dir
=
os
.
path
.
dirname
(
__file__
)
if
root_dir
:
os
.
chdir
(
root_dir
)
# snippet from http://django-registration.googlecode.com/svn/trunk/setup.py
for
dirpath
,
dirnames
,
filenames
in
os
.
walk
(
'compress'
):
# Ignore dirnames that start with '.'
for
i
,
dirname
in
enumerate
(
dirnames
):
if
dirname
.
startswith
(
'.'
):
del
dirnames
[
i
]
if
'__init__.py'
in
filenames
:
pkg
=
dirpath
.
replace
(
os
.
path
.
sep
,
'.'
)
if
os
.
path
.
altsep
:
pkg
=
pkg
.
replace
(
os
.
path
.
altsep
,
'.'
)
packages
.
append
(
pkg
)
elif
filenames
:
prefix
=
dirpath
[
9
:]
# Strip "registration/" or "registration\"
for
f
in
filenames
:
data_files
.
append
(
os
.
path
.
join
(
prefix
,
f
))
from
setuptools
import
setup
,
find_packages
setup
(
name
=
'django-compress'
,
version
=
'1.0.1'
,
version
=
'1.0.1
-disqus1
'
,
description
=
'django-compress provides an automated system for compressing CSS and JavaScript files'
,
author
=
'Andreas Pelme'
,
author_email
=
'Andreas Pelme <andreas@pelme.se>'
,
url
=
'http://code.google.com/p/django-compress/'
,
packages
=
packages
,
package_data
=
{
'compress'
:
data_files
,},
packages
=
find_packages
(),
zip_safe
=
False
,
include_package_data
=
True
,
classifiers
=
[
'Environment :: Web Environment'
,
'Intended Audience :: Developers'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment