-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
57d701e
commit ce1c7e4
Showing
7 changed files
with
40 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
recursive-include src/rustplus *.png | ||
recursive-include rustplus *.png |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,37 @@ | ||
from setuptools import setup, find_packages | ||
|
||
version = "" | ||
with open("rustplus/__init__.py") as input_file: | ||
for line in input_file.readlines(): | ||
if line.startswith("__version__"): | ||
version = line.strip("__version__ =").strip().strip('"') | ||
break | ||
|
||
def main() -> None: | ||
version = "" | ||
with open("src/rustplus/__init__.py") as input_file: | ||
for line in input_file.readlines(): | ||
if line.startswith("__version__"): | ||
version = line.strip("__version__ =").strip().strip('"') | ||
break | ||
with open("README.md", errors='ignore') as input_file: | ||
readme = input_file.read() | ||
|
||
with open("README.md", errors='ignore') as input_file: | ||
readme = input_file.read() | ||
|
||
setup( | ||
name='rustplus', | ||
author='olijeffers0n', | ||
url='https://github.com/olijeffers0n/rustplus', | ||
project_urls={ | ||
"Issue tracker": "https://github.com/olijeffers0n/rustplus/issues", | ||
}, | ||
package_dir={"": "src"}, | ||
version=version, | ||
packages=find_packages(where='src'), | ||
license='MIT', | ||
description='A python wrapper for the Rust Plus API', | ||
long_description=readme, | ||
include_package_data=True, | ||
long_description_content_type='text/markdown', | ||
install_requires=[ | ||
"websocket_client", | ||
"Pillow", | ||
"protobuf==4.21.1", | ||
"asyncio", | ||
"rustPlusPushReceiver==0.4.1", | ||
"http-ece", | ||
"requests" | ||
], | ||
python_requires='>=3.7.0', | ||
) | ||
|
||
|
||
if __name__ == "__main__": | ||
main() | ||
setup( | ||
name='rustplus', | ||
author='olijeffers0n', | ||
url='https://github.com/olijeffers0n/rustplus', | ||
project_urls={ | ||
"Issue tracker": "https://github.com/olijeffers0n/rustplus/issues", | ||
}, | ||
version=version, | ||
packages=find_packages(include=['rustplus', 'rustplus.*']), | ||
license='MIT', | ||
description='A python wrapper for the Rust Plus API', | ||
long_description=readme, | ||
include_package_data=True, | ||
long_description_content_type='text/markdown', | ||
install_requires=[ | ||
"websocket_client", | ||
"Pillow", | ||
"protobuf==4.21.1", | ||
"asyncio", | ||
"rustPlusPushReceiver==0.4.1", | ||
"http-ece", | ||
"requests" | ||
], | ||
python_requires='>=3.7.0', | ||
) |