Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dateutil
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenVMS
Python
Modules
dateutil
Commits
cc79e1058cdf
Commit
cc79e1058cdf
authored
16 years ago
by
niemeyer <>
Browse files
Options
Downloads
Patches
Plain Diff
Using .tar.gz extension, so that it works better with setuptools.
parent
239977023b01
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
NEWS
+4
-0
4 additions, 0 deletions
NEWS
dateutil/__init__.py
+1
-1
1 addition, 1 deletion
dateutil/__init__.py
setup.cfg
+0
-4
0 additions, 4 deletions
setup.cfg
setup.py
+4
-8
4 additions, 8 deletions
setup.py
with
9 additions
and
13 deletions
NEWS
+
4
−
0
View file @
cc79e105
Version 1.4.1
-------------
Version 1.4
-----------
...
...
This diff is collapsed.
Click to expand it.
dateutil/__init__.py
+
1
−
1
View file @
cc79e105
...
...
@@ -6,4 +6,4 @@
"""
__author__
=
"
Gustavo Niemeyer <gustavo@niemeyer.net>
"
__license__
=
"
PSF License
"
__version__
=
"
1.
3
"
__version__
=
"
1.
4.1
"
This diff is collapsed.
Click to expand it.
setup.cfg
+
0
−
4
View file @
cc79e105
[bdist_rpm]
doc_files
=
README LICENSE
use_bzip2
=
1
[sdist]
formats
=
bztar
This diff is collapsed.
Click to expand it.
setup.py
+
4
−
8
View file @
cc79e105
#!/usr/bin/python
from
distutils.sysconfig
import
get_python_lib
from
distutils.core
import
setup
from
os.path
import
isfile
,
join
import
glob
import
os
import
re
...
...
@@ -4,10 +2,12 @@
from
os.path
import
isfile
,
join
import
glob
import
os
import
re
from
setuptools
import
setup
if
isfile
(
"
MANIFEST
"
):
os
.
unlink
(
"
MANIFEST
"
)
...
...
@@ -9,12 +9,8 @@
if
isfile
(
"
MANIFEST
"
):
os
.
unlink
(
"
MANIFEST
"
)
# Get PYTHONLIB with no prefix so --prefix installs work.
PYTHONLIB
=
join
(
get_python_lib
(
standard_lib
=
1
,
prefix
=
''
),
'
site-packages
'
)
ZONEINFO
=
join
(
"
dateutil
"
,
"
zoneinfo
"
)
VERSION
=
re
.
search
(
'
__version__ =
"
([^
"
]+)
"'
,
open
(
"
dateutil/__init__.py
"
).
read
()).
group
(
1
)
...
...
@@ -32,6 +28,6 @@
datetime module, available in Python 2.3+.
"""
,
packages
=
[
"
dateutil
"
,
"
dateutil.zoneinfo
"
],
data_files
=
[(
join
(
PYTHONLIB
,
ZONEINFO
)
,
glob
.
glob
(
join
(
ZONEINFO
,
"
zoneinfo*.tar.*
"
)))]
,
package_data
=
{
""
:
[
"
*.tar.gz
"
]}
,
include_package_data
=
True
,
)
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