Paul Gauthier
b18dbf4772
renamed hf-embed -> help
2024-07-16 11:03:01 +01:00
Paul Gauthier
e8617ee8dd
noop
2024-07-15 08:41:27 +01:00
Paul Gauthier
0860e7b30d
do not package tests/
2024-07-15 08:40:32 +01:00
Paul Gauthier
2db74a7579
refac extras
2024-07-14 20:36:36 +01:00
Paul Gauthier (aider)
e9bcdceb3b
Simplified the extras_require
dictionary in setup.py
by using a loop over the extra requirement types.
2024-07-14 20:35:10 +01:00
Paul Gauthier (aider)
bb3fd143a5
Replaced separate requirement variables with direct calls to get_requirements
in extras_require
dictionary.
2024-07-14 20:34:25 +01:00
Paul Gauthier
4fbe3d295a
added [playwright] extra
2024-07-14 19:34:48 +01:00
Paul Gauthier
76dad84285
added [browser] extra; refac the pip install utils
2024-07-14 17:22:17 +01:00
Paul Gauthier
bafa8ab71c
refactor reqs into requirements/
2024-07-13 16:36:41 +01:00
Paul Gauthier
ea89ca6eb5
hf -> hf-embed
2024-07-10 17:26:56 +01:00
Paul Gauthier (aider)
8890ca1c55
Added 'aider[hf]' extra to setup.py
2024-07-10 15:36:33 +01:00
Paul Gauthier (aider)
2b7bf39099
Added an aider[dev]
extra to the setup.py
file.
2024-07-10 15:29:46 +01:00
Paul Gauthier
3414c3ab3b
Added support for CPU-only PyTorch requirement in setup.py.
2024-07-10 15:29:45 +01:00
Paul Gauthier
84f2b0cbfd
cleanup torch cpu magic
2024-07-10 15:27:13 +01:00
Paul Gauthier
8f6098160b
cleanup
2024-07-10 07:28:52 +01:00
Paul Gauthier
fc5737fbd0
Find the true URL even if another env has cached it
2024-07-09 17:03:01 +01:00
Paul Gauthier
e307be1a9c
refactored into get_requirements
2024-07-09 16:39:54 +01:00
Paul Gauthier (aider)
2af9876b76
Removed hardcoded torch version and used the one from requirements.txt
2024-07-09 16:08:44 +01:00
Paul Gauthier
1d2ade748c
Updated the TempNamedDir usage to TemporaryDirectory in the setup.py file.
2024-07-09 16:08:43 +01:00
Paul Gauthier (aider)
f568c45f6b
Used TempNamedDir instead of tempfile.mkdtemp() to ensure the temporary directory is cleaned up after the subprocess completes.
2024-07-09 16:03:01 +01:00
Paul Gauthier (aider)
472ad976b8
Used a temporary named directory instead of /dev/null in setup.py.
2024-07-09 16:01:26 +01:00
Paul Gauthier
8256f611b4
Removed commented-out sys.exit()
statement from setup.py
.
2024-07-09 16:01:24 +01:00
Paul Gauthier (aider)
7db1c51919
Subprocess output was processed line-by-line to find and extract the PyTorch URL, and the subprocess was terminated as soon as the URL was found.
2024-07-09 16:00:29 +01:00
Paul Gauthier
72f0686c66
works
2024-07-09 15:59:45 +01:00
Paul Gauthier (aider)
a376f91de6
Extracted PyTorch URL from command output and printed it.
2024-07-09 15:30:38 +01:00
Paul Gauthier
c71d98f1b2
Installed PyTorch version 2.2.2 from the specified URL and exited the script.
2024-07-09 15:30:36 +01:00
Paul Gauthier (aider)
9a39f00c39
Remove --extra-index-url
line from requirements.txt and conditionally install torch
from the specified URL in setup.py.
2024-07-09 14:40:59 +01:00
Paul Gauthier
929aa7f9ac
refac to help_pats
2024-07-05 10:18:34 -03:00
Paul Gauthier
05caccf3cc
cleanup
2024-07-05 10:09:13 -03:00
Paul Gauthier
22a494bb59
moved website/ -> aider/website/
2024-07-05 10:01:30 -03:00
Paul Gauthier
eb80b32915
Added the exclude=["benchmark"]
parameter to the find_packages()
function to exclude the 'benchmark' package from the discovered packages.
2024-07-05 09:34:16 -03:00
Paul Gauthier
9f7197974f
refactored exclude_website_pats
2024-07-05 09:29:35 -03:00
Paul Gauthier (aider)
644412bd8c
Added a note explaining that the 'build' directory is populated when running commands like 'python setup.py sdist bdist_wheel' to build distribution packages.
2024-07-04 16:37:40 -03:00
Paul Gauthier (aider)
e6e581f5cd
Added debug print statements to discover and display the packages and package data being included in the distribution.
2024-07-04 16:36:10 -03:00
Paul Gauthier
dcc542f7ef
undo setup.py changes
2024-07-04 16:34:29 -03:00
Paul Gauthier (aider)
fceaa0504c
Added files and directories to the package_data, excluding the website/_posts subdirectory.
2024-07-04 15:23:05 -03:00
Paul Gauthier (aider)
6db8501891
Added the website directory and all MD files in its subdirectories to the package data and packages in the setup.py file.
2024-07-04 15:01:17 -03:00
Paul Gauthier
f28f3fdcaf
Stop eliding - bullet lists in pypi desc
2024-06-25 14:22:50 -07:00
Paul Gauthier
52b883413f
Use cogged website/index.md for pypi
2024-06-25 13:39:08 -07:00
Paul Gauthier
da69daa7aa
cleanup
2024-06-25 13:37:41 -07:00
Paul Gauthier
5dc55f5291
copy
2024-06-25 13:31:52 -07:00
Paul Gauthier
c6ae99f2a1
Updated the documentation URL in the setup.py file.
2024-06-25 13:29:32 -07:00
Paul Gauthier (aider)
49eb864895
Added project URLs to setup.py
2024-06-25 13:29:05 -07:00
Paul Gauthier
460e12494c
added 3.12 to pypi classifiers
2024-01-05 14:50:37 -08:00
Paul Gauthier
fb1e6ad8a0
bump the python version to <3.13
2024-01-05 14:49:09 -08:00
Paul Gauthier
b579c9e4d4
updated numpy & scipy versions #300
2023-10-30 19:01:02 -07:00
Paul Gauthier
4f5818c9a7
added pypi classifiers
2023-10-30 09:01:00 -07:00
paul-gauthier
423ba83a85
Merge pull request #298 from jackhallam/licence
...
Add license classifier to setup.py
2023-10-30 08:57:48 -07:00
Paul Gauthier
64e8b3d3a7
aider: Updated python_requires field to limit the package to Python versions 3.9-3.11.
...
# Aider chat conversation:
USER: how can i limit this package to python python versions 3.9-3.11 ?
ASSISTANT: To limit the package to Python versions 3.9 to 3.11, you need to modify the `python_requires` field in the `setup` function in the `setup.py` file.
Here is the *SEARCH/REPLACE block* for the change:
```python
setup.py
<<<<<<< SEARCH
python_requires=">=3.9",
=======
python_requires=">=3.9,<=3.11",
>>>>>>> REPLACE
```
This change will ensure that the package can only be installed on Python versions from 3.9 up to and including 3.11.
2023-10-30 08:52:25 -07:00
Jack Hallam
3e310ffc99
Add license classifier to setup.py
2023-10-30 11:12:21 +00:00