Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
alviezhang committed Feb 26, 2020
1 parent 0e69f9e commit 3411d5f
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ python:
- "pypy3"

install:
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
- pip install .

script:
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include README.rst LICENSE VERSION requirements.txt
recursive-include tests *.py
recursive-include aftership
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,19 @@ install:
test:
py.test

record:
py.test --vcr-record=new_episodes

flake8:
flake8

docs:
cd docs && make html
@echo "\033[95m\n\nBuild successful! View the docs homepage at docs/_build/html/index.html.\n\033[0m"

build:
python setup.py sdist --formats=gztar,zip

clean:
-rm -r docs/_build

record:
py.test --vcr-record=new_episodes
-rm -r build dist aftership.egg-info
11 changes: 11 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-r requirements.txt

# For packaging
wheel
setuptools

# For testing
flake8
pytest
pytest-cov
pytest-vcr
9 changes: 0 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
wheel
setuptools

requests

# For testing
flake8
pytest
pytest-cov
pytest-vcr
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
with open(path.join(here, 'VERSION'), encoding='utf-8') as f:
version = f.read()

with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
install_requires = f.read().split('\n')


setup(
name='aftership',

Expand Down Expand Up @@ -68,5 +72,5 @@
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=['aftership'],
install_requires=[],
install_requires=install_requires,
)
6 changes: 0 additions & 6 deletions tox.ini

This file was deleted.

0 comments on commit 3411d5f

Please sign in to comment.