Skip to content

Commit

Permalink
Merge branch 'main' of github.com:nanobowers/py2cr into main
Browse files Browse the repository at this point in the history
  • Loading branch information
nanobowers committed Dec 27, 2021
2 parents f1a4cc4 + 8cdb6ed commit 5d8bb45
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ pip install py2cr
or
```
git clone git://github.com/nanobowers/py2cr.git
cd py2cr
python setup.py
```

## Versions
Expand All @@ -26,7 +28,7 @@ git clone git://github.com/nanobowers/py2cr.git

## Dependencies

### Python
<!---### Python
```
pip install pyyaml
Expand All @@ -36,7 +38,7 @@ pip install numpy
# Probably not needed for much longer since py2 support is going to be removed.
pip install six
```
```-->

### Crystal

Expand Down
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pyyaml
numpy
six
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@

with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()

with open('requirements.txt') as f:
requirements = f.read().splitlines()

setup(
name='py2cr',
Expand Down Expand Up @@ -43,10 +46,7 @@
'builtins/require.cr',
'builtins/module.cr', ]
},
install_requires=[
'pyyaml',
'numpy',
],
install_requires=requirements,
entry_points={
'console_scripts': [
'py2cr=py2cr:main'
Expand Down

0 comments on commit 5d8bb45

Please sign in to comment.