Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
python-poetry
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
python-poetry
Commits
40f3c001
Unverified
Commit
40f3c001
authored
Mar 04, 2018
by
Sébastien Eustace
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add setup.py file until version 0.3.0 is out
parent
8e32aca5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
58 additions
and
2 deletions
+58
-2
.gitignore
+0
-1
.travis.yml
+1
-1
setup.py
+57
-0
No files found.
.gitignore
View file @
40f3c001
...
...
@@ -25,7 +25,6 @@ pip-log.txt
/test_*.*
setup.cfg
setup.py
MANIFEST.in
pyproject.lock
README.rst
.travis.yml
View file @
40f3c001
...
...
@@ -4,7 +4,7 @@ python:
-
"
3.6"
install
:
-
pip install
poetry
-
pip install
-e .
-
poetry install
script
:
pytest -q tests/
setup.py
0 → 100644
View file @
40f3c001
import
os
from
setuptools
import
setup
,
find_packages
def
get_version
():
basedir
=
os
.
path
.
dirname
(
__file__
)
with
open
(
os
.
path
.
join
(
basedir
,
'poetry/__init__.py'
))
as
f
:
variables
=
{
'__name__'
:
'poetry'
}
exec
(
f
.
read
(),
variables
)
version
=
variables
.
get
(
'__version__'
)
if
version
:
return
version
raise
RuntimeError
(
'No version info found.'
)
__version__
=
get_version
()
packages
=
[
'poetry'
]
for
pkg
in
find_packages
(
'poetry'
):
packages
.
append
(
'poetry.'
+
pkg
)
kwargs
=
dict
(
name
=
'poetry'
,
license
=
'MIT'
,
version
=
__version__
,
description
=
'Python dependency management and packaging made easy.'
,
long_description
=
open
(
'README.rst'
)
.
read
(),
author
=
'Sébastien Eustace'
,
author_email
=
'sebastien@eustace.io'
,
url
=
'https://github.com/sdispater/poetry'
,
packages
=
packages
,
python_requires
=
'>=3.6.0'
,
install_requires
=
[
'cleo>=0.6.1,<0.7.0'
,
'requests>=2.18.0,<3.0.0'
,
'toml>=0.9.4,<0.10.0'
,
'cachy>=0.1.0,<0.2.0'
,
'pip-tools>=1.11.0,<2.0.0'
],
include_package_data
=
True
,
tests_require
=
[
'pytest>=3.4.0,<3.5.0'
],
classifiers
=
[
'Intended Audience :: Developers'
,
'Operating System :: OS Independent'
,
'Programming Language :: Python'
,
'Programming Language :: Python :: 3.6'
,
'Programming Language :: Python :: Implementation :: CPython'
,
],
entry_points
=
{
'console_scripts'
:
[
'poetry = poetry:console.run'
]
}
)
setup
(
**
kwargs
)
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