Skip to content

Commit

Permalink
Update conda recipe/instructions (#108)
Browse files Browse the repository at this point in the history
* Updates recipe and installation files

* Changes required torch version (sdv-dev#107)

* Constraints pandas version

* Updates recipe and installation files

* Constraints pandas version
  • Loading branch information
fealho authored Dec 7, 2020
1 parent 56848a5 commit 333aa9d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ If you want to install from source or contribute to the project please read the
**CTGAN** can also be installed using [conda](https://docs.conda.io/en/latest/):

```bash
conda install -c sdv-dev -c conda-forge ctgan
conda install -c sdv-dev -c pytorch -c conda-forge ctgan
```

This will pull and install the latest stable release from [Anaconda](https://anaconda.org/).
Expand Down
2 changes: 1 addition & 1 deletion conda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ branch and build the conda package.
```bash
git checkout stable
cd conda
conda build -c pytorch .
conda build -c sdv-dev -c pytorch -c conda-forge .
```

## Upload to Anaconda
Expand Down
8 changes: 5 additions & 3 deletions conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,24 @@ build:
requirements:
host:
- numpy <2,>=1.17.4
- pandas <2,>=0.24
- pandas <1.1.5,>=0.24
- pip
- python
- rdt >=0.2.7,<0.3
- scikit-learn <0.24,>=0.21
- pytorch <2,>=1.0
- torchvision <1,>=0.4.2
- packaging
- pytest-runner
run:
- numpy <2,>=1.17.4
- pandas <2,>=0.24
- pandas <1.1.5,>=0.24
- python
- rdt >=0.2.7,<0.3
- scikit-learn <0.24,>=0.21
- pytorch <2,>=1.0
- torchvision <1,>=0.4.2
- packaging

about:
home: "https://github.com/sdv-dev/CTGAN"
Expand All @@ -46,4 +48,4 @@ about:

extra:
recipe-maintainers:
- sdv-dev
- sdv-dev
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
'scikit-learn<0.24,>=0.21',
'rdt>=0.2.7,<0.3',
'numpy<2,>=1.17.4',
'pandas<2,>=0.24',
'pandas<1.1.5,>=0.24',
'packaging',
]

Expand Down

0 comments on commit 333aa9d

Please sign in to comment.