Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
zhifan huang
re6stnet
Commits
b4a9a612
Commit
b4a9a612
authored
Apr 09, 2015
by
Rafael Monnerat
Committed by
Julien Muchembled
Apr 10, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change egg versioning scheme to comply with PEP 440
parent
766ad6c8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
setup.py
setup.py
+9
-3
No files found.
setup.py
View file @
b4a9a612
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
from
setuptools
import
setup
,
find_packages
from
setuptools
import
setup
,
find_packages
from
setuptools.command
import
sdist
as
_sdist
,
build_py
as
_build_py
from
setuptools.command
import
sdist
as
_sdist
,
build_py
as
_build_py
from
distutils
import
log
from
distutils
import
log
from
re6st
import
version
version
=
{
"__file__"
:
"re6st/version.py"
}
version
=
{
"__file__"
:
"re6st/version.py"
}
execfile
(
version
[
"__file__"
],
version
)
execfile
(
version
[
"__file__"
],
version
)
...
@@ -38,9 +37,16 @@ Topic :: Internet
...
@@ -38,9 +37,16 @@ Topic :: Internet
Topic :: System :: Networking
Topic :: System :: Networking
"""
"""
egg_version
=
"0.%(revision)s"
%
version
git_rev
=
"""
Git Revision: %s == %s
"""
%
(
egg_version
,
version
[
"short"
])
setup
(
setup
(
name
=
're6stnet'
,
name
=
're6stnet'
,
version
=
version
[
"version"
]
,
version
=
egg_version
,
description
=
__doc__
.
strip
(),
description
=
__doc__
.
strip
(),
author
=
'Nexedi'
,
author
=
'Nexedi'
,
author_email
=
're6stnet@erp5.org'
,
author_email
=
're6stnet@erp5.org'
,
...
@@ -49,7 +55,7 @@ setup(
...
@@ -49,7 +55,7 @@ setup(
platforms
=
[
"any"
],
platforms
=
[
"any"
],
classifiers
=
classifiers
.
splitlines
(),
classifiers
=
classifiers
.
splitlines
(),
long_description
=
".. contents::
\
n
\
n
"
+
open
(
'README'
).
read
()
long_description
=
".. contents::
\
n
\
n
"
+
open
(
'README'
).
read
()
+
"
\
n
"
+
open
(
'CHANGES'
).
read
(),
+
"
\
n
"
+
open
(
'CHANGES'
).
read
()
+
git_rev
,
packages
=
find_packages
(),
packages
=
find_packages
(),
scripts
=
[
scripts
=
[
're6stnet'
,
're6stnet'
,
...
...
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