Skip to content

Commit

Permalink
Merge pull request #4 from davidlatwe/venv
Browse files Browse the repository at this point in the history
venv, revision and shell prompt
  • Loading branch information
davidlatwe authored Apr 21, 2021
2 parents e60e89a + 08c1f68 commit e6460db
Show file tree
Hide file tree
Showing 27 changed files with 3,321 additions and 304 deletions.
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

recursive-include *LICENSE* *.txt *.md *.rst
include pyproject.toml
include src/rezup/rezup.toml
include src/rezup/launch/up.*
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pip install rezup

### Usage

use default, if container default not exists, get rez from pypi
use default container `.main`
```
$ rezup
```
Expand All @@ -22,22 +22,17 @@ $ rezup use foo

use foo and do job
```
$ rezup use foo --do job
$ rezup use foo --do {script.bat}
```

install rez into container default
install rez into default container
```
$ rezup add
$ rezup use --make {rezup.toml}
```

install rez into container foo
```
$ rezup add foo
```

install rez into container live, which will be in edit mode
```
$ rezup add live
$ rezup use foo --make {rezup.toml}
```

remove container foo
Expand Down
78 changes: 78 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
[metadata]
name = rezup
version = attr: rezup._version.__version__
description = Rez launching environment manager
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/davidlatwe/rezup
author = davidlatwe
author_email = davidlatwe@gmail.com
maintainer = davidlatwe
maintainer_email = davidlatwe@gmail.com
license = GPLv3
license_file = LICENSE
platforms = any
classifiers =
Development Status :: 3 - Alpha
Intended Audience :: Developers
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Operating System :: MacOS :: MacOS X
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: Implementation :: CPython
Topic :: Utilities
Topic :: Software Development
Topic :: System :: Software Distribution
keywords = package resolve version build install software management
project_urls =
Source=https://github.com/davidlatwe/rezup
Tracker=https://github.com/davidlatwe/rezup/issues

[options]
zip_safe = true
python_requires = >=3, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
install_requires =
distlib>=0.3.1,<1
virtualenv>=20.4.4,<21
shellingham>=1.4.0,<2
packages = find:
package_dir =
= src
include_package_data = true

[options.packages.find]
where = src
exclude =
tests

[options.entry_points]
console_scripts =
rezup=rezup.cli:run

[options.package_data]
rezup = rezup.toml
rezup.launch = up.*

[options.extras_require]
tests =
pytest

[sdist]
formats = gztar

[bdist_wheel]
universal = true

[tool:pytest]
markers =
slow
junit_family = xunit2
addopts = --tb=auto -ra --showlocals --no-success-flaky-report
env =
PYTHONWARNINGS=ignore:DEPRECATION::pip._internal.cli.base_command
PYTHONIOENCODING=utf-8
45 changes: 2 additions & 43 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,44 +1,3 @@

from setuptools import setup, find_packages


__version__ = ""
with open("src/rezup/_version.py") as f:
exec(f.read())
with open("README.md") as f:
long_description = f.read()

setup(
name="rezup",
version=__version__,
description="Rez launching environment manager",
keywords="package resolve version build install software management",
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/davidlatwe/rezup",
author="davidlatwe",
author_email="davidlatwe@gmail.com",
license="GPLv3",
package_dir={"": "src"},
packages=find_packages("src"),
entry_points={
"console_scripts": ["rezup = rezup.cli:run"],
},
install_requires=[
"distlib",
],
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Software Development",
"Topic :: System :: Software Distribution"
]
)
from setuptools import setup
setup()
4 changes: 4 additions & 0 deletions src/rezup/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

import sys
from . import cli
sys.exit(cli.run())
Empty file added src/rezup/_vendor/__init__.py
Empty file.
Loading

0 comments on commit e6460db

Please sign in to comment.