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

Commit

Permalink
Fix: installation
Browse files Browse the repository at this point in the history
  • Loading branch information
dirodriguezm committed Aug 5, 2021
1 parent 082dd71 commit 7ff0b71
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@
From PyPI stable version:

```
pip install numpy Cython
pip install -e git+https://[email protected]/alercebroker/turbo-fats#egg=turbofats
pip install lc-classifier
```

For development:

```
git clone https://github.com/alercebroker/lc_classifier.git
python -m pip install -e .
```

Expand Down
Empty file removed lc_classifier/__init__.py
Empty file.
5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ tensorflow >=2.3
pandas >=1.1
wget >=3.2
celerite2 >=0.1

-e git+https://[email protected]/alercebroker/turbo-fats#egg=turbofats
-e git+https://git@github.com/alercebroker/mhps#egg=mhps
-e git+https://git@github.com/alercebroker/P4J#egg=P4J
mhps @ git+https://github.com/alercebroker/mhps
P4J @ git+https://github.com/alercebroker/P4J
21 changes: 13 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
from setuptools import setup
from setuptools import setup, find_packages

with open("requirements.txt") as f:
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

with open("requirements.txt", "r") as f:
required_packages = f.readlines()

required_packages = [r for r in required_packages if "-e" not in r]
required_packages = [r for r in required_packages if "-e" not in r]

setup(
name="lc_classifier",
version="2.0.0",
description='ALeRCE light curve classifier',
version="2.0.1",
description="ALeRCE light curve classifier",
long_description=long_description,
long_description_content_type="text/markdown",
author="ALeRCE Team",
author_email='[email protected]',
packages=['lc_classifier'],
author_email="[email protected]",
packages=find_packages(),
install_requires=required_packages,
build_requires=required_packages
build_requires=required_packages,
)

0 comments on commit 7ff0b71

Please sign in to comment.