diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 5e2d4ac..4fa9cd7 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.7, 3.8] + python-version: [3.8, 3.9] steps: - uses: actions/checkout@v2 diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 436841d..cbcd8c4 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -58,10 +58,10 @@ Ready to contribute? Here's how to set up `erepublik` for local development. $ git clone git@github.com:your_name_here/erepublik.git -3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development:: +3. This is how you set up your fork for local development:: - $ mkvirtualenv erepublik $ cd erepublik/ + $ python3 -m venv venv $ python setup.py develop 4. Create a branch for local development:: @@ -73,8 +73,7 @@ Ready to contribute? Here's how to set up `erepublik` for local development. 5. When you're done making changes, check that your changes pass flake8, isort and the tests:: - $ flake8 erepublik tests - $ isort erepublik + $ make lint $ python setup.py test To get flake8 and isort, just pip install them into your virtualenv. @@ -115,8 +114,6 @@ A reminder for the maintainers on how to deploy. Make sure all your changes are committed (including an entry in HISTORY.rst). Then run:: -$ bumpversion patch # possible: major / minor / patch +$ bumpversion patch # possible: major / minor / patch / dev $ git push $ git push --tags - -Travis will then deploy to PyPI if tests pass. diff --git a/docs/conf.py b/docs/conf.py index 72c9f80..af4b009 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,6 +25,7 @@ sys.path.insert(0, os.path.abspath("..")) import erepublik import edx_theme +import datetime # -- General configuration --------------------------------------------- @@ -50,7 +51,7 @@ master_doc = "index" # General information about the project. project = "eRepublik script" -copyright = "2019, Eriks Karls" +copyright = "2017-%i, Eriks Karls" % datetime.date.today().year author = "Eriks Karls" # The version info for the project you're documenting, acts as replacement diff --git a/docs/index.html b/docs/index.html index f43b7fc..84bb656 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,12 +8,10 @@