Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ cd my-env
. bin/activate
git clone https://github.com/geopython/pygeometa.git
cd pygeometa
python3 setup.py build
python3 setup.py install
pip3 install .
```

## Running
Expand Down Expand Up @@ -163,9 +162,6 @@ vi pygeometa/schemas/foo/__init__.py
### Running Tests

```bash
# via setuptools
python3 setup.py test
# manually
cd tests
python3 run_tests.py
```
Expand Down
19 changes: 1 addition & 18 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,8 @@
# =================================================================

from pathlib import Path
from setuptools import Command, find_packages, setup
from setuptools import find_packages, setup
import re
import sys


class PyTest(Command):
user_options = []

def initialize_options(self):
pass

def finalize_options(self):
pass

def run(self):
import subprocess
errno = subprocess.call([sys.executable, 'tests/run_tests.py'])
raise SystemExit(errno)


def read(filename) -> str:
Expand Down Expand Up @@ -133,6 +117,5 @@ def get_package_version():
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: GIS'
],
cmdclass={'test': PyTest},
test_suite='tests.run_tests'
)